shlwapi: Avoid harcoding array lengths.

This commit is contained in:
Frédéric Delanoy 2011-11-21 09:34:54 +01:00 committed by Alexandre Julliard
parent a46790b32d
commit ce3dd89b54
1 changed files with 1 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ int WINAPI PathParseIconLocationW(LPWSTR lpszPath)
*/
BOOL WINAPI PathFileExistsDefExtW(LPWSTR lpszPath,DWORD dwWhich)
{
static const WCHAR pszExts[7][5] = { { '.', 'p', 'i', 'f', 0},
static const WCHAR pszExts[][5] = { { '.', 'p', 'i', 'f', 0},
{ '.', 'c', 'o', 'm', 0},
{ '.', 'e', 'x', 'e', 0},
{ '.', 'b', 'a', 't', 0},