[Tux4kids-commits] r1504 - tuxtype/trunk/src
Matthew Trey
treymd-guest at alioth.debian.org
Thu Sep 10 18:49:50 UTC 2009
Author: treymd-guest
Date: 2009-09-10 18:49:50 +0000 (Thu, 10 Sep 2009)
New Revision: 1504
Modified:
tuxtype/trunk/src/scripting.c
Log:
Modified: tuxtype/trunk/src/scripting.c
===================================================================
--- tuxtype/trunk/src/scripting.c 2009-09-10 18:32:03 UTC (rev 1503)
+++ tuxtype/trunk/src/scripting.c 2009-09-10 18:49:50 UTC (rev 1504)
@@ -559,12 +559,12 @@
{
// str needs another line, this one is used up
fscanf_result = fscanf(f, "%[^\n]\n", str);
+ tmpStr = str;
// we may get consecutive comment lines
if (fscanf_result != EOF && strncmp("<!--", str, 4) == 0)
{
found = 0;
- tmpStr = str;
}
}
}
More information about the Tux4kids-commits
mailing list