Skip to content

Commit 9af738d

Browse files
committed
Fixed build error in previous commit. Close About box with X.
1 parent 442582e commit 9af738d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/wingui.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ BOOL CALLBACK About_DlgProc (
124124
switch ( wparam )
125125
{
126126
case IDOK:
127+
case IDCANCEL:
127128
EndDialog ( hwnd, IDOK );
128129
result = TRUE;
129130
break;
@@ -2662,10 +2663,6 @@ LRESULT CALLBACK ChessWndProc (
26622663
TheBoardDisplayBuffer.freshenBoard();
26632664
break;
26642665

2665-
case ID_VIEW_FRESHEN:
2666-
TheBoardDisplayBuffer.freshenBoard();
2667-
break;
2668-
26692666
case ID_DUMP_XPOS_TABLE:
26702667
{
26712668
if (ComputerChessPlayer::XposTable)

0 commit comments

Comments
 (0)