win32: save type menu was completely broken. awesome.

This commit is contained in:
zeromus 2010-04-24 07:24:18 +00:00
parent 882d05895e
commit 53a76b5be5
1 changed files with 2 additions and 1 deletions

View File

@ -2006,8 +2006,9 @@ int MenuInit()
memset(&mm, 0, sizeof(MENUITEMINFO));
mm.cbSize = sizeof(MENUITEMINFO);
mm.fMask = MIIM_TYPE;
mm.fMask = MIIM_TYPE | MIIM_ID;
mm.fType = MFT_STRING;
mm.wID = IDC_SAVETYPE+i+1;
mm.dwTypeData = (LPSTR)save_names[i];
MainWindow->addMenuItem(IDC_SAVETYPE, false, &mm);