Mercurial > hg > openttd
diff src/viewport.cpp @ 13175:3f4cc2986131 draft
(svn r17682) -Codechange: remove erroneous space before some commas
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 02 Oct 2009 15:13:15 +0000 (2009-10-02) |
parents | 6eb3f749890a |
children | afdfdda87cd4 |
line wrap: on
line diff
--- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -241,7 +241,7 @@ 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 @@ 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; }