j
k
j a
j l
Nikolay Sivov nsivov@codeweavers.com wrote:
+char* CDECL _get_narrow_winmain_command_line(void) +{ static char *narrow_command_line; char *s; if (narrow_command_line) return narrow_command_line; s = GetCommandLineA(); if (*s == '"') { s++; while (*s) if (*s++ == '"') break; } else { while (*s && *s != ' ' && *s != '\t') s++; } while (*s == ' ' || *s == '\t') s++; return narrow_command_line = s; +}
+char* CDECL _get_narrow_winmain_command_line(void) +{
return narrow_command_line;
s++;
while (*s)
if (*s++ == '"')
break;
while (*s && *s != ' ' && *s != '\t')
+}
Where did you get an idea of sucn an implementation?
Show replies by date
wine-devel@winehq.org
Add to favorites Remove from favorites