[Goodies-commits] r5807 - xfbib/branches/gobject/src

David Gustafsson tssj at xfce.org
Sun Oct 26 00:35:44 CEST 2008


Author: tssj
Date: 2008-10-25 22:35:44 +0000 (Sat, 25 Oct 2008)
New Revision: 5807

Modified:
   xfbib/branches/gobject/src/xfbib-bibtex-string.c
Log:
Changed so that the parser wont skip the first letter in the variable.


Modified: xfbib/branches/gobject/src/xfbib-bibtex-string.c
===================================================================
--- xfbib/branches/gobject/src/xfbib-bibtex-string.c	2008-10-25 21:34:36 UTC (rev 5806)
+++ xfbib/branches/gobject/src/xfbib-bibtex-string.c	2008-10-25 22:35:44 UTC (rev 5807)
@@ -118,10 +118,10 @@
 	g_strstrip(split[0] + 7);
 
 	/* Separator */
-	string->separator = split[0][8];
+	string->separator = split[0][7];
 
 	/* Variable */
-	string->variable = g_strdup(split[0] + 9);
+	string->variable = g_strdup(split[0] + 8);
 
 	/* Value */
 	tmp = g_strndup(split[1], strlen(split[1]) - 1);




More information about the Goodies-commits mailing list