win32: save type menu was completely broken. awesome.
This commit is contained in:
parent
882d05895e
commit
53a76b5be5
|
@ -2006,8 +2006,9 @@ int MenuInit()
|
||||||
memset(&mm, 0, sizeof(MENUITEMINFO));
|
memset(&mm, 0, sizeof(MENUITEMINFO));
|
||||||
|
|
||||||
mm.cbSize = sizeof(MENUITEMINFO);
|
mm.cbSize = sizeof(MENUITEMINFO);
|
||||||
mm.fMask = MIIM_TYPE;
|
mm.fMask = MIIM_TYPE | MIIM_ID;
|
||||||
mm.fType = MFT_STRING;
|
mm.fType = MFT_STRING;
|
||||||
|
mm.wID = IDC_SAVETYPE+i+1;
|
||||||
mm.dwTypeData = (LPSTR)save_names[i];
|
mm.dwTypeData = (LPSTR)save_names[i];
|
||||||
|
|
||||||
MainWindow->addMenuItem(IDC_SAVETYPE, false, &mm);
|
MainWindow->addMenuItem(IDC_SAVETYPE, false, &mm);
|
||||||
|
|
Loading…
Reference in New Issue