git: 9front

Download patch

ref: de923b2455c0acc6f6c2450789bca3c4e1973cb6
parent: 912dc011ba6c62615edd53a9b70aa3b32c84c73e
author: cinap_lenrek <cinap_lenrek@rei2.9hal>
date: Sun Oct 2 11:05:01 EDT 2011

page: use param f instead of global zoom

--- a/sys/src/cmd/page.c
+++ b/sys/src/cmd/page.c
@@ -922,7 +922,7 @@
 		return;
 	for(y=r.min.y; y<r.max.y; y++){
 		draw(t, Rect(r.min.x, y, r.min.x+w, y+1), s, nil, sp);
-		if(++a.y == zoom){
+		if(++a.y == f){
 			a.y = 0;
 			sp.y++;
 		}
--