changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: libdraw: cannot happen

changeset 6872: 95cc803be43b
parent 6871: b90924e837f6
child 6873: cd256cc052e3
author: cinap_lenrek@felloff.net
date: Thu, 08 Nov 2018 16:56:34 +0100
files: sys/src/libdraw/init.c
description: libdraw: cannot happen
     1.1--- a/sys/src/libdraw/init.c
     1.2+++ b/sys/src/libdraw/init.c
     1.3@@ -148,9 +148,7 @@ retry:
     1.4 	}
     1.5 	if(*winp != nil){
     1.6 		_freeimage1(*winp);
     1.7-		if((*scrp)->image != nil
     1.8-		&& (*scrp)->image != image
     1.9-		&& (*scrp)->image != d->image)
    1.10+		if((*scrp)->image != d->image)
    1.11 			freeimage((*scrp)->image);
    1.12 		freescreen(*scrp);
    1.13 		*scrp = nil;