}
break;
}
+ if(appData.upsideDown && flipView) kind ^= 2; // swap white and black pieces
XCopyArea(xDisplay, xpmPieceBitmap[kind][piece],
dest, wlPieceGC, 0, 0,
squareSize, squareSize, x, y);
/* read from stdin */
rl_callback_read_char();
- /* redisplay the current line */
+
+ /* redisplay the current line, check special case for login and password */
if(sending_ICS_password)
{
int i; char buf[MSG_SIZ];
kind = 0;
else
kind = 2;
+ if(appData.upsideDown && flipView) kind ^= 2;
XCopyArea(xDisplay, xpmPieceBitmap[kind][piece],
dest, clip,
0, 0, squareSize, squareSize,