aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-09-28 22:40:49 +0800
committerfjoe <fjoe@FreeBSD.org>2003-09-28 22:40:49 +0800
commit1ba4d4ac5a1748304e3a59516937f6f740a64be0 (patch)
tree2cfc6855744dea6d00beb4c9b5f4387e7923fc39 /news
parent672797decf69ec84fac15d42bdc68433efbaff15 (diff)
downloadfreebsd-ports-gnome-1ba4d4ac5a1748304e3a59516937f6f740a64be0.tar.gz
freebsd-ports-gnome-1ba4d4ac5a1748304e3a59516937f6f740a64be0.tar.zst
freebsd-ports-gnome-1ba4d4ac5a1748304e3a59516937f6f740a64be0.zip
Fix 'Show Address' switch. Patch is submitted to author.
Diffstat (limited to 'news')
-rw-r--r--news/husky-msged/files/patch-nshow.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/news/husky-msged/files/patch-nshow.c b/news/husky-msged/files/patch-nshow.c
new file mode 100644
index 000000000000..908d5379b47b
--- /dev/null
+++ b/news/husky-msged/files/patch-nshow.c
@@ -0,0 +1,31 @@
+--- ./nshow.c.orig Thu Jun 21 03:21:35 2001
++++ ./nshow.c Sun Sep 28 21:25:05 2003
+@@ -217,14 +217,9 @@
+ memset(line, SC8, maxx + 1); /* clear dividing line */
+ WndPutsn(0, 5, maxx, cm[CM_DTXT] | F_ALTERNATE, line);
+ WndWriteStr(2, 0, cm[CM_NINF], tmpbuf);
+- if (SW->showaddr)
++ if (dv_running())
+ {
+- sprintf(line, "%s", show_address(&CurArea.addr));
+- WndWriteStr(3, 5, cm[CM_NINF], line);
+- if (dv_running())
+- {
+- WndWriteStr(maxx - 7, 5, cm[CM_DTXT], "DV");
+- }
++ WndWriteStr(maxx - 7, 5, cm[CM_DTXT], "DV");
+ }
+ if (SW->usemouse)
+ {
+@@ -531,6 +526,11 @@
+ }
+ #endif
+
++ if (SW->showaddr)
++ {
++ sprintf(line, "%s", show_address(&CurArea.addr));
++ WndWriteStr(3, 5, cm[CM_NINF], line);
++ }
+ if (SW->showtime)
+ {
+ WndPrintf(40, 5, cm[CM_HTXT], " %s ", itime(time(NULL)));