Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1130/1

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


More tweaking of vga heuristics.
 [rsc] --rw-rw-r-- M 491481 glenda sys 13831 Nov 30 08:13 sys/src/9/pc/screen.c
	/n/sourcesdump/2005/1130/plan9/sys/src/9/pc/screen.c:469,475 - 
	/n/sourcesdump/2005/1201/plan9/sys/src/9/pc/screen.c:469,477
	  			continue;
	  		if(best==-1 
	  		|| p->mem[i].size > p->mem[best].size 
	- 		|| (p->mem[i].size == p->mem[best].size && (p->mem[i].bar&8)))
	+ 		|| (p->mem[i].size == p->mem[best].size 
	+ 		  && (p->mem[i].bar&8)
	+ 		  && !(p->mem[best].bar&8)))
	  			best = i;
	  	}
	  	if(best >= 0){


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.