=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: shlwapi: Avoid harcoding array lengths.
Alexandre Julliard
julliard at winehq.org
Mon Nov 21 11:10:07 CST 2011
Module: wine
Branch: master
Commit: ce3dd89b5411edfdf448bd80ac8dd2b71a972e53
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce3dd89b5411edfdf448bd80ac8dd2b71a972e53
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Mon Nov 21 09:34:54 2011 +0100
shlwapi: Avoid harcoding array lengths.
---
dlls/shlwapi/path.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shlwapi/path.c b/dlls/shlwapi/path.c
index 43c3225..92a830b 100644
--- a/dlls/shlwapi/path.c
+++ b/dlls/shlwapi/path.c
@@ -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},
More information about the wine-cvs
mailing list