src/gtkblist.c

changeset 10288
fc688f632351
parent 10287
d6ffdace247a
child 10297
b36800725b7a
--- a/src/gtkblist.c	Wed Dec 01 05:41:37 2004 +0000
+++ b/src/gtkblist.c	Wed Dec 01 23:24:17 2004 +0000
@@ -2808,6 +2808,7 @@
 			tmp = new;
 		}
 
+#if !GTK_CHECK_VERSION(2,6,0)
 		if(tmp) {
 			char buf[32];
 			char *c = tmp;
@@ -2828,17 +2829,18 @@
 
 			length = c - tmp;
 
-#if !GTK_CHECK_VERSION(2,6,0)
 			if(vis == 20)
 				g_snprintf(buf, sizeof(buf), "%%.%ds...", length);
 			else
-#endif
 				g_snprintf(buf, sizeof(buf), "%%s ");
 
 			statustext = g_strdup_printf(buf, tmp);
 
 			g_free(tmp);
 		}
+#else
+		statustext = tmp;
+#endif
 	}
 
 	if (gaim_presence_is_idle(presence) &&

mercurial