9fans archive / 1996 / 04 / 87 / prev next From: miller@ham... miller@ham... Subject: mistake in update to 9/pc/devvga.c Date: Sun, 28 Apr 1996 14:35:57 -0400 The 16-Feb-96 update 9/pc/824494421.rc introduced a change in devvga.c to allow bitreset() to preallocate screen bitmap space. But there's a small mistake in the code which causes a miscalculation of the amount of space to allocate. A simple correction is given by the following diff (against 9/pc/devvga.c after the application of 824494421.rc): 700,701c700 < for(; (1<<gscreen.ldepth) < z; gscreen.ldepth++) < ; --- > gscreen.ldepth = z; -- Richard Miller