diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-24 10:38:43 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-24 10:38:43 +0000 |
commit | 815b8d8df1e31439f3776e51e93239703346228b (patch) | |
tree | 9c936ecbb5e2e4367788a18a55cbf52eb6eb6cc6 /src/smallmap_gui.cpp | |
parent | 3ff1cf32c39e9e11d783b973c64a33c098705304 (diff) | |
download | openttd-815b8d8df1e31439f3776e51e93239703346228b.tar.xz |
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index fc80e46a6..e4214ab92 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -697,7 +697,7 @@ skip_column: /* Check if y is out of bounds? */ y -= dpi->top; - if (!IS_INT_INSIDE(y, 0, dpi->height)) continue; + if (!IsInsideMM(y, 0, dpi->height)) continue; /* Default is to draw both pixels. */ skip = false; |