From: Jacob Potter Date: Sat, 13 Dec 2008 22:11:40 +0000 (-0500) Subject: checksum_rect defaults to null X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/9279fff3ac25895f3fa48cd764bdad56d7c735ff?ds=sidebyside;hp=-c checksum_rect defaults to null --- 9279fff3ac25895f3fa48cd764bdad56d7c735ff diff --git a/video/tnt2.c b/video/tnt2.c index c04b067..c79912c 100644 --- a/video/tnt2.c +++ b/video/tnt2.c @@ -33,9 +33,11 @@ static void tnt2_getvmode(void *priv) break; case 0: tnt2_fb.curmode.text = 1; + tnt2_fb.checksum_rect = (checksum_rect_t) 0; break; default: tnt2_fb.curmode.text = 1; + tnt2_fb.checksum_rect = (checksum_rect_t) 0; outputf("Unknown TNT2 format %x", vgard(0x28)); break; }