Skip to content
Snippets Groups Projects
Commit ac2a662a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard
Browse files

Reduce the maximum length of debug strings to 80 characters.

parent 94c7fa70
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ inline static char *put_string_a( const char *src, int n )
if (n == -1) n = strlen(src);
if (n < 0) n = 0;
else if (n > 200) n = 200;
else if (n > 80) n = 80;
dst = res = gimme1 (n * 4 + 6);
*dst++ = '"';
while (n-- > 0)
......@@ -148,7 +148,7 @@ inline static char *put_string_w( const WCHAR *src, int n )
if (n == -1) n = strlenW(src);
if (n < 0) n = 0;
else if (n > 200) n = 200;
else if (n > 80) n = 80;
dst = res = gimme1 (n * 5 + 7);
*dst++ = 'L';
*dst++ = '"';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment