Fix compile error on Windows.

This commit is contained in:
Guus Sliepen 2012-10-14 16:39:16 +02:00
parent 368727c3da
commit 4200a378c4

View file

@ -73,7 +73,7 @@ static bool install_service(void) {
strncat(command, "\"", sizeof command - strlen(command));
for(char **argp = g_argv + 1; *argp; argp++) {
char &space = strchr(*argp, ' ');
char *space = strchr(*argp, ' ');
strncat(command, " ", sizeof command - strlen(command));
if(space)