[ros-diffs] [royce] 13996: don't end a string if the last character
outputted was an escape, will cause output file to be invalid
royce at svn.reactos.com
royce at svn.reactos.com
Sun Mar 13 08:38:41 CET 2005
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++ = ',';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050313/d510cd60/attachment.html
More information about the Ros-diffs
mailing list