From df2ad566d8717e9a7f4e8f0bd3d92f539696546e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Jun 2000 10:39:24 +0000 Subject: [PATCH] Whops, last "fix" broke timestamp's time. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@350 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/printtext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-common/core/printtext.c b/src/fe-common/core/printtext.c index 9c96524a..4fee1d1e 100644 --- a/src/fe-common/core/printtext.c +++ b/src/fe-common/core/printtext.c @@ -651,9 +651,9 @@ static char *get_timestamp(TEXT_DEST_REC *dest) if (!show_timestamp(dest->level)) return NULL; - if (timestamp_timeout > 0) { - t = time(NULL); + t = time(NULL); + if (timestamp_timeout > 0) { diff = t - dest->window->last_timestamp; dest->window->last_timestamp = t; if (diff < timestamp_timeout)