summaryrefslogtreecommitdiff
path: root/news/husky-msged
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-09-28 14:40:49 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-09-28 14:40:49 +0000
commit9c106e748410cb531444f267a396de01e88c385b (patch)
tree61695032e9da0129696760e981c5a096fc5ff683 /news/husky-msged
parent- Update to version 0.45a (diff)
Fix 'Show Address' switch. Patch is submitted to author.
Notes
Notes: svn path=/head/; revision=89689
Diffstat (limited to 'news/husky-msged')
-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)));