1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 23:37:13 +00:00

PDP11, PDP1, TX-0: Fix compiler warning with clang compiler.

This commit is contained in:
Mark Pizzolato 2016-01-30 15:06:06 -08:00
parent b804964514
commit 197466c911

View File

@ -146,7 +146,7 @@ ws_poll(int *valp, int maxus)
if (SCPE_OK == vid_poll_mouse (&mev)) {
unsigned char old_lp_sw = display_lp_sw;
if (display_lp_sw = mev.b1_state) {
if ((display_lp_sw = mev.b1_state)) {
ws_lp_x = mev.x_pos;
ws_lp_y = (ypixels - 1) - mev.y_pos; /* range 0 - (ypixels-1) */
/* convert to display coordinates */