summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-02 15:13:15 +0000
committerrubidium <rubidium@openttd.org>2009-10-02 15:13:15 +0000
commite9624fe0cc4b2716358a563edb1bc48c05cdbcce (patch)
tree47b976b3f59881e0d573df8645e27e1f9d7e9981 /src/viewport.cpp
parent9c6157c578a63db38f8dd544abb0f16cd058111b (diff)
downloadopenttd-e9624fe0cc4b2716358a563edb1bc48c05cdbcce.tar.xz
(svn r17682) -Codechange: remove erroneous space before some commas
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 5285a28b4..723260a1f 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -241,7 +241,7 @@ static void DoSetViewportPosition(const Window *w, int left, int top, int width,
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 Window *w, int left, int top, int width,
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;
}