File diff r13164:565fc06638f2 → r13165:024ce8aa50e8
src/viewport.cpp
Show inline comments
 
@@ -241,7 +241,7 @@ static void DoSetViewportPosition(const 
 

	
 
			if (left + width > w->left + w->width) {
 
				DoSetViewportPosition(w, left, top, (w->left + w->width - left), height);
 
				DoSetViewportPosition(w, left + (w->left + w->width - left), top, width - (w->left + w->width - left) , height);
 
				DoSetViewportPosition(w, left + (w->left + w->width - left), top, width - (w->left + w->width - left), height);
 
				return;
 
			}
 

	
 
@@ -253,7 +253,7 @@ static void DoSetViewportPosition(const 
 

	
 
			if (top + height > w->top + w->height) {
 
				DoSetViewportPosition(w, left, top, width, (w->top + w->height - top));
 
				DoSetViewportPosition(w, left, top + (w->top + w->height - top), width , height - (w->top + w->height - top));
 
				DoSetViewportPosition(w, left, top + (w->top + w->height - top), width, height - (w->top + w->height - top));
 
				return;
 
			}