don't end a string if the last character outputted was an escape, will
cause output file to be invalid
Modified: trunk/reactos/tools/wmc/write.c
_____
Modified: trunk/reactos/tools/wmc/write.c
--- trunk/reactos/tools/wmc/write.c 2005-03-13 07:37:33 UTC (rev
13995)
+++ trunk/reactos/tools/wmc/write.c 2005-03-13 07:38:40 UTC (rev
13996)
@@ -360,7 +360,7 @@
cptr += n;
b += n;
}
- if(i < len-1 && b >= 72)
+ if(i < len-1 && b >= 72 && cptr[-1] != '\\')
{
*cptr++ = '"';
*cptr++ = ',';
@@ -424,7 +424,7 @@
b += n;
}
}
- if(i < len-1 && b >= 72)
+ if(i < len-1 && b >= 72 && cptr[-1] != '\\')
{
*cptr++ = '"';
*cptr++ = ',';
Show replies by date