From 63ec94ecd04985d90d5c86659e0decbeefd389f2 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 12 Feb 2003 17:55:55 +0000 Subject: Warnings --- vchat-ui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vchat-ui.c') diff --git a/vchat-ui.c b/vchat-ui.c index e9368b4..526727f 100755 --- a/vchat-ui.c +++ b/vchat-ui.c @@ -225,12 +225,12 @@ sb_flush ( struct sb_data *sb ) { sb->entries = NULL; } -static void +/*static void sb_clear ( struct sb_data **sb ) { sb_flush(*sb); free( *sb ); *sb = NULL; -} +}*/ static struct sb_entry* sb_add (struct sb_data *sb, unsigned char *line, time_t when) { @@ -272,8 +272,9 @@ void showout (void) void writeout (unsigned char *str) { + int i; sb_add(sb_out,str,time(NULL)); - int i = 1 + gettextwidth( str ); + i = 1 + gettextwidth( str ); if( i > outputwidth_desired ) outputwidth_desired = i; } -- cgit v1.2.3