shell32: Avoid a variable-length array.
This commit is contained in:
parent
9d79ca78db
commit
b1b92046c2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue