attrib: Avoid hardcoding the Unicode string literal lengths.

oldstable
Francois Gouget 2011-12-16 13:06:27 +01:00 committed by Alexandre Julliard
parent 68bd1ae628
commit cf598bdd62
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ int wmain(int argc, WCHAR *argv[])
DWORD count;
HANDLE hff;
WIN32_FIND_DATAW fd;
WCHAR flags[9] = {' ',' ',' ',' ',' ',' ',' ',' ','\0'};
WCHAR flags[] = {' ',' ',' ',' ',' ',' ',' ',' ','\0'};
WCHAR name[128];
WCHAR *param = argc >= 2 ? argv[1] : NULL;
DWORD attrib_set = 0;