From 5e71adb5da0a9846665e53779e877fbd1aee8c1d Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 26 Sep 2005 16:07:14 +0000 Subject: [PATCH] Fix status line: drops dependence from GOLDMARK char --- docs/notework.txt | 3 +++ golded3/geutil.cpp | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/notework.txt b/docs/notework.txt index 1588dff..20f0c1b 100644 --- a/docs/notework.txt +++ b/docs/notework.txt @@ -10,6 +10,9 @@ ______________________________________________________________________ Notes for GoldED+ 1.1.5, /snapshot/ ______________________________________________________________________ ++ Don't use a GOLDMARK char in default status line. + (Patch from Ianos Gnatiuc 2:5030/830.17) + + New reply-linking features: show floating reply link threads and show messages without replies in replylinking threads view. New config file tokens: REPLYLINKFLOAT (yes/no), REPLYLINKSHOWALWAYS (Yes/No). diff --git a/golded3/geutil.cpp b/golded3/geutil.cpp index 8f24ee6..4d9f95a 100644 --- a/golded3/geutil.cpp +++ b/golded3/geutil.cpp @@ -63,12 +63,11 @@ void update_statuslines() { else if(CFG->statuslinehelp) sprintf(help, "%s ", LNG->StatusLineHelp); else - sprintf(help, "%s%s%s%s%c%s%i.%i.%i%s ", + sprintf(help, "%s%s%s%s %s%i.%i.%i%s ", __gver_prename__, __gver_name__, __gver_postname__, __gver_platform__, - goldmark, __gver_preversion__, __gver_major__, __gver_minor__, @@ -79,7 +78,7 @@ void update_statuslines() { int help_len = strlen(help); int clk_len = strlen(clkinfo); int len = MAXCOL-help_len-clk_len-2; - sprintf(buf, " %s%-*.*s%s ", help, len, len, information, clkinfo); + sprintf(buf, "%c%s%-*.*s%s ", goldmark, help, len, len, information, clkinfo); char *begin = buf; char *obegin = old_status_line;