summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-16 10:54:08 +0000
committerrubidium <rubidium@openttd.org>2007-12-16 10:54:08 +0000
commitec90ce7e98b29371b0fb139256065ac9991ca289 (patch)
tree267e33cbd909ce3837ebac7aca128ba8b4e40d0f /src/openttd.cpp
parentacf6e08f7840c9b6b89bd6e758972bf2bea29c5f (diff)
downloadopenttd-ec90ce7e98b29371b0fb139256065ac9991ca289.tar.xz
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 72fd4eb7b..7d841f0bb 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1055,8 +1055,8 @@ static void ScrollMainViewport(int x, int y)
Window *w = FindWindowById(WC_MAIN_WINDOW, 0);
assert(w);
- WP(w,vp_d).dest_scrollpos_x += ScaleByZoom(x, w->viewport->zoom);
- WP(w,vp_d).dest_scrollpos_y += ScaleByZoom(y, w->viewport->zoom);
+ WP(w, vp_d).dest_scrollpos_x += ScaleByZoom(x, w->viewport->zoom);
+ WP(w, vp_d).dest_scrollpos_y += ScaleByZoom(y, w->viewport->zoom);
}
}
/**