[ekg2-commit] r4077 - trunk/plugins/ncurses: trunk/plugins/ncurses/old.c

SVN commit svn w toxygen.net
Śro, 9 Lip 2008, 13:18:18 CEST


Author: darkjames
Date: 2008-07-09 13:18:17 +0200 (Wed, 09 Jul 2008)
New Revision: 4077

Modified:
   trunk/plugins/ncurses/old.c
Log:
better.


Modified: trunk/plugins/ncurses/old.c
===================================================================
--- trunk/plugins/ncurses/old.c	2008-07-09 11:08:53 UTC (rev 4076)
+++ trunk/plugins/ncurses/old.c	2008-07-09 11:18:17 UTC (rev 4077)
@@ -579,7 +579,7 @@
 int ncurses_backlog_split(window_t *w, int full, int removed)
 {
 	int i, res = 0, bottom = 0;
-	int render_timstamp = (config_timestamp && config_timestamp[0]);
+	int render_timestamp = (config_timestamp && config_timestamp_show && config_timestamp[0]);
 	ncurses_window_t *n;
 
 	if (!w || !(n = w->private))
@@ -656,7 +656,7 @@
 				l->prompt_attr = NULL;
 			}
 
-			if (!w->floating && config_timestamp && config_timestamp_show) {
+			if (!w->floating && render_timestamp) {
 				fstring_t *s = NULL;
 
 				if (!ts || lastts != ts) {	/* generate new */



Więcej informacji o liście dyskusyjnej ekg2-commit