summary refs log tree commit diff stats
path: root/src/fe-text/fe-text.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 15:55:43 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 15:55:43 +0200
commit51ae33cbe8a29c6502f16cd1bc57e5535e0b4e64 (patch)
treed5590fd28355015598c1c56869c77303ce91c11e /src/fe-text/fe-text.c
parent545b7dc6ffc0aff9f2ca2cb4ba10b69e25134a03 (diff)
Variable cleanup for the rest
Diffstat (limited to 'src/fe-text/fe-text.c')
-rw-r--r--src/fe-text/fe-text.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c
index b7b24f42..232a1946 100644
--- a/src/fe-text/fe-text.c
+++ b/src/fe-text/fe-text.c
@@ -121,7 +121,7 @@ fe_new_window (struct session *sess, int focus)
 static int
 get_stamp_str (time_t tim, char *dest, int size)
 {
-	return strftime (dest, size, prefs.stamp_format, localtime (&tim));
+	return strftime (dest, size, prefs.hex_stamp_text_format, localtime (&tim));
 }
 
 static int
@@ -152,7 +152,7 @@ fe_print_text (struct session *sess, char *text, time_t stamp)
 		comma, k, i = 0, j = 0, len = strlen (text);
 	unsigned char *newtext = malloc (len + 1024);
 
-	if (prefs.timestamp)
+	if (prefs.hex_stamp_text)
 	{
 		newtext[0] = 0;
 		j += timecat (newtext, stamp);
@@ -290,7 +290,7 @@ fe_print_text (struct session *sess, char *text, time_t stamp)
 		case '\n':
 			newtext[j] = '\r';
 			j++;
-			if (prefs.timestamp)
+			if (prefs.hex_stamp_text)
 				dotime = TRUE;
 		default:
 			newtext[j] = text[i];
@@ -319,7 +319,7 @@ fe_print_text (struct session *sess, char *text, time_t stamp)
 
 	unsigned char *newtext = malloc (len + 1024);
 
-	if (prefs.timestamp)
+	if (prefs.hex_stamp_text)
 	{
 		newtext[0] = 0;
 		j += timecat (newtext, stamp);
@@ -384,7 +384,7 @@ fe_print_text (struct session *sess, char *text, time_t stamp)
 		case '\n':
 			newtext[j] = '\r';
 			j++;
-			if (prefs.timestamp)
+			if (prefs.hex_stamp_text)
 				dotime = TRUE;
 		default:
 			newtext[j] = text[i];