diff options
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r-- | hw/cirrus_vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 8aade84846..ec0297fc58 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -2246,7 +2246,7 @@ static void cirrus_cursor_invalidate(VGAState *s1) CirrusVGAState *s = (CirrusVGAState *)s1; int size; - if (!s->sr[0x12] & CIRRUS_CURSOR_SHOW) { + if (!(s->sr[0x12] & CIRRUS_CURSOR_SHOW)) { size = 0; } else { if (s->sr[0x12] & CIRRUS_CURSOR_LARGE) |