shell32: Avoid a variable-length array.

This commit is contained in:
Thomas Faber 2014-03-25 10:51:34 +01:00 committed by Alexandre Julliard
parent 9d79ca78db
commit b1b92046c2
1 changed files with 2 additions and 1 deletions

View File

@ -285,9 +285,10 @@ static BOOL CALLBACK Properties_AddPropSheetCallback(HPROPSHEETPAGE hpage, LPARA
return TRUE;
}
#define MAX_PROP_PAGES 99
static void DoOpenProperties(ContextMenu *This, HWND hwnd)
{
static const UINT MAX_PROP_PAGES = 99;
static const WCHAR wszFolder[] = {'F','o','l','d','e','r', 0};
static const WCHAR wszFiletypeAll[] = {'*',0};
LPSHELLFOLDER lpDesktopSF;