Skip to content

Commit 471a3cb

Browse files
authored
[GEN][ZH] Fix missing break at switch case GWM_INPUT_FOCUS in IdleWorkerSystem() (#1166)
1 parent 2ab25f9 commit 471a3cb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5528,6 +5528,8 @@ WindowMsgHandledType IdleWorkerSystem( GameWindow *window, UnsignedInt msg,
55285528
// if we're givin the opportunity to take the keyboard focus we must say we don't want it
55295529
if( mData1 == TRUE )
55305530
*(Bool *)mData2 = FALSE;
5531+
break;
5532+
55315533
}
55325534
//---------------------------------------------------------------------------------------------
55335535
case GBM_SELECTED:

GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5700,6 +5700,8 @@ WindowMsgHandledType IdleWorkerSystem( GameWindow *window, UnsignedInt msg,
57005700
// if we're givin the opportunity to take the keyboard focus we must say we don't want it
57015701
if( mData1 == TRUE )
57025702
*(Bool *)mData2 = FALSE;
5703+
break;
5704+
57035705
}
57045706
//---------------------------------------------------------------------------------------------
57055707
case GBM_SELECTED:

0 commit comments

Comments
 (0)