diff --git a/src/conio/bitmap_con.c b/src/conio/bitmap_con.c index 01d02d894a00a0eafc9ad50b5343789e76355db5..ce2602be7d90c55cf9a504566c6195f06ef569b6 100644 --- a/src/conio/bitmap_con.c +++ b/src/conio/bitmap_con.c @@ -2207,7 +2207,7 @@ static int init_screens(int *width, int *height) pthread_mutex_unlock(&screenlock); return(-1); } - screena.toprow = 0; + screenb.toprow = 0; memset_u32(screena.rect->data, color_value(vstat.palette[0]), screena.rect->rect.width * screena.rect->rect.height); memset_u32(screenb.rect->data, color_value(vstat.palette[0]), screenb.rect->rect.width * screenb.rect->rect.height); pthread_mutex_unlock(&screenlock);