diff options
author | TechGeekNZ <git@tech.geek.nz> | 2020-07-03 09:36:10 +1200 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2020-07-03 09:08:46 +0200 |
commit | 716c883737b76757e0f3bcddeacc1e276dfff13b (patch) | |
tree | afd30f0dc704eb6264499b1999a2a0f9d48d69f8 /src/map_func.h | |
parent | 97592c409378c2d353a1cdd6b50f80b7e81b67c2 (diff) | |
download | openttd-716c883737b76757e0f3bcddeacc1e276dfff13b.tar.xz |
Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
Diffstat (limited to 'src/map_func.h')
-rw-r--r-- | src/map_func.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map_func.h b/src/map_func.h index 0c8fda7be..b02ba5777 100644 --- a/src/map_func.h +++ b/src/map_func.h @@ -241,11 +241,11 @@ static inline TileIndexDiff ToTileIndexDiff(TileIndexDiffC tidc) * @param y Another tile to add * @return The resulting tile(index) */ - #define TILE_ADD(x, y) ((x) + (y)) +# define TILE_ADD(x, y) ((x) + (y)) #else extern TileIndex TileAdd(TileIndex tile, TileIndexDiff add, const char *exp, const char *file, int line); - #define TILE_ADD(x, y) (TileAdd((x), (y), #x " + " #y, __FILE__, __LINE__)) +# define TILE_ADD(x, y) (TileAdd((x), (y), #x " + " #y, __FILE__, __LINE__)) #endif /** |