if (num != oldnum) {
if (!w32g_play_active && num != oldnum) {
static void UpdateOutputMenu(HWND hWnd, UINT wId){	MENUITEMINFO mii;	int i, num = -1, oldnum;	for (i = 0; play_mode_list[i] != 0; i++) {		mii.cbSize = sizeof (MENUITEMINFO);		mii.fMask = MIIM_STATE | MIIM_ID;		GetMenuItemInfo(outputMenu, i, TRUE, &mii);		if (wId == mii.wID) {			mii.fState = MFS_CHECKED;			num = i;		} else {mii.fState = MFS_UNCHECKED;}		SetMenuItemInfo(outputMenu, i, TRUE, &mii);		if (st_temp->opt_playmode[0] == play_mode_list[i]->id_character) {			oldnum = i;		}	}	if (num != oldnum) {		if (num >= 0) {st_temp->opt_playmode[0] = play_mode_list[num]->id_character;}		else {st_temp->opt_playmode[0] = 'd';}		if(!w32g_play_active) {PrefSettingApplyReally();}	}}