~kris/9p

9hist

b97f4babba6924db7d7e592be11fea063cce5bd4 — David du Colombier 27 years ago 6ba1264
Plan 9 from Bell Labs 1999-02-02
1 files changed, 7 insertions(+), 7 deletions(-)

M port/devdraw.c
M port/devdraw.c => port/devdraw.c +7 -7
@@ 794,17 794,17 @@ initscreenimage(void)

	if(screendata.data != nil)
		return 1;

	screendata.base = nil;
	screendata.data = attachscreen(&screenimage.r, &screenimage.ldepth, &width, &sdraw.softscreen);

	if(screendata.data == nil)
		return 0;

	screendata.base = nil;
	if(screendata.data != nil){
		screendata.ref = 1;
		screenimage.data = &screendata;
		screenimage.width = width;
		screenimage.clipr  = screenimage.r;
	}
	screendata.ref = 1;
	screenimage.data = &screendata;
	screenimage.width = width;
	screenimage.clipr  = screenimage.r;

	return 1;
}