Commit 199aebaa authored by Alexandre Julliard's avatar Alexandre Julliard

Ignore trailing spaces in DOSFS_ToDosFCBFormat.

parent e0842daf
...@@ -244,7 +244,7 @@ BOOL DOSFS_ToDosFCBFormat( LPCSTR name, LPSTR buffer ) ...@@ -244,7 +244,7 @@ BOOL DOSFS_ToDosFCBFormat( LPCSTR name, LPSTR buffer )
/* at most 3 character of the extension are processed /* at most 3 character of the extension are processed
* is something behind this ? * is something behind this ?
*/ */
if (*p == '*') p++; /* skip wildcard */ while (*p == '*' || *p == ' ') p++; /* skip wildcards and spaces */
return IS_END_OF_NAME(*p); return IS_END_OF_NAME(*p);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment