1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

misc selection and textfield fixes

This commit is contained in:
dan
2002-01-02 17:45:40 +00:00
parent 7b00d9ec12
commit 365556b676
8 changed files with 113 additions and 77 deletions

View File

@@ -290,7 +290,7 @@ Bool copyAllFiles(char *gsdir)
FILE *f;
char path[2048];
char file[256];
char target[256];
char target[2048];
/* copy misc data files */
@@ -298,7 +298,7 @@ Bool copyAllFiles(char *gsdir)
f = fopen(path, "r");
while (!feof(f)) {
if (!fgets(path, 255, f)) {
if (!fgets(file, 255, f)) {
break;
}
sprintf(path, "%s/%s", DATADIR, file);