9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* mistake in update to 9/pc/devvga.c
@ 1996-04-28 18:35 miller
  0 siblings, 0 replies; only message in thread
From: miller @ 1996-04-28 18:35 UTC (permalink / raw)


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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-28 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-28 18:35 mistake in update to 9/pc/devvga.c miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).