Ignore trailing spaces in DOSFS_ToDosFCBFormat.

This commit is contained in:
Alexandre Julliard 2000-03-28 13:20:32 +00:00
parent e0842daf60
commit 199aebaa57
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ BOOL DOSFS_ToDosFCBFormat( LPCSTR name, LPSTR buffer )
/* 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);
}