Remove useless gstring truncate
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 04 Apr 2010 16:33:49 +0300
changeset 3 f59b09f29f10
parent 2 88890ebee9e3
child 4 6ec78c5af989
Remove useless gstring truncate
uptime.c
--- a/uptime.c	Sun Apr 04 16:25:10 2010 +0300
+++ b/uptime.c	Sun Apr 04 16:33:49 2010 +0300
@@ -66,7 +66,6 @@
 	minutes %= 60;
 	hours   %= 24;
 
-	g_string_truncate (line, 0);
 	if (days)
 		g_string_append_printf (line, " %u days", days);
 	if (hours)