[Goodies-commits] r6063 - xfce4-dict/trunk/lib

Enrico Troeger enrico at xfce.org
Tue Nov 11 23:24:59 CET 2008


Author: enrico
Date: 2008-11-11 22:24:59 +0000 (Tue, 11 Nov 2008)
New Revision: 6063

Modified:
   xfce4-dict/trunk/lib/dictd.c
Log:
Fix cut server responses when there is a leading number in the word definition (e.g. in 'moby-thes').

Modified: xfce4-dict/trunk/lib/dictd.c
===================================================================
--- xfce4-dict/trunk/lib/dictd.c	2008-11-11 20:28:24 UTC (rev 6062)
+++ xfce4-dict/trunk/lib/dictd.c	2008-11-11 22:24:59 UTC (rev 6063)
@@ -476,7 +476,11 @@
 			sol = TRUE;
 		}
 		if (c == '\n') /* last char of line, so the next run is first char of next line */
+		{
 			fol = TRUE;
+			sol = FALSE;
+			tol = FALSE;
+		}
 
 		g_string_append_c(str, c);
 		if (tol)




More information about the Goodies-commits mailing list