Skip to content

Commit 737d9a6

Browse files
committed
Minor code cleanup.
1 parent 3f3d830 commit 737d9a6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/wbrdbuf.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ void BoardDisplayBuffer::drawSquare (
189189
HPEN hpen;
190190
HPEN oldpen;
191191

192-
// FIXFIXFIX_GRAPHICS - render light and dark squares beneath transparent bitmaps
193-
194192
switch ( square )
195193
{
196194
case WPAWN: hbm = wp; break;

src/wingui.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3248,9 +3248,9 @@ LRESULT CALLBACK ChessWndProc (
32483248
LPARAM(&localProm) );
32493249

32503250
if ( localProm != R_INDEX &&
3251-
localProm != B_INDEX &&
3252-
localProm != N_INDEX &&
3253-
localProm != Q_INDEX )
3251+
localProm != B_INDEX &&
3252+
localProm != N_INDEX &&
3253+
localProm != Q_INDEX )
32543254
{
32553255
localProm = Q_INDEX;
32563256
}

0 commit comments

Comments
 (0)