1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

This update includes the 0.20.3pre3 code

This commit is contained in:
dan
1998-11-23 11:32:19 +00:00
parent 59eb947539
commit 9007a6575d
88 changed files with 4862 additions and 4026 deletions

View File

@@ -601,8 +601,8 @@ FlattenStringList(char **list, int count)
return NULL;
}
strcpy(flat_string, list[0]);
for (i=1; i<count; i++) {
*flat_string = 0;
for (i=0; i<count; i++) {
if (list[i]!=NULL && list[i][0]!=0) {
strcat(flat_string, " ");
wspace = strpbrk(list[i], " \t");
@@ -613,7 +613,7 @@ FlattenStringList(char **list, int count)
strcat(flat_string, "\"");
}
}
return flat_string;
}
@@ -804,7 +804,7 @@ getuserinput(WScreen *scr, char *line, int *ptr)
}
ret = NULL;
if (wInputDialog(scr, tmp, _("Enter command arguments:"), &ret)!= WDB_OK)
if (!wInputDialog(scr, tmp, _("Enter command arguments:"), &ret))
return NULL;
else
return ret;