commit | 199aebaa5713ce10b77c0155012006e176f204a4 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Tue Mar 28 13:20:32 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Mar 28 13:20:32 2000 +0000 |
tree | 61d8a0a0e12e83f8fe1cdc1f3093a8ad4fd0f068 | |
parent | e0842daf6016f4320d80d4df68c3030ecc46dca6 [diff] [blame] |
Ignore trailing spaces in DOSFS_ToDosFCBFormat.
diff --git a/files/dos_fs.c b/files/dos_fs.c index a77b2b9..fe470a7 100644 --- a/files/dos_fs.c +++ b/files/dos_fs.c
@@ -244,7 +244,7 @@ /* at most 3 character of the extension are processed * is something behind this ? */ - if (*p == '*') p++; /* skip wildcard */ + while (*p == '*' || *p == ' ') p++; /* skip wildcards and spaces */ return IS_END_OF_NAME(*p); }