diff options
author | Haru <haru@dotalux.com> | 2016-01-09 21:44:27 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-09 21:44:27 +0100 |
commit | e248c3394d7a2a76cfb39e0955ebab648ecc2bf0 (patch) | |
tree | 31d8b0b7de923cff4a49131b82a6ff4de2fd2769 /src/map/clif.h | |
parent | 10f9f4282097f177d6ee0b26572dcf4308e6d6fb (diff) | |
download | hercules-e248c3394d7a2a76cfb39e0955ebab648ecc2bf0.tar.gz hercules-e248c3394d7a2a76cfb39e0955ebab648ecc2bf0.tar.bz2 hercules-e248c3394d7a2a76cfb39e0955ebab648ecc2bf0.tar.xz hercules-e248c3394d7a2a76cfb39e0955ebab648ecc2bf0.zip |
Sanitized various macros
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 7567e507b..250689e90 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -63,7 +63,7 @@ struct view_data; #define clif_disp_onlyself(sd,mes,len) clif->disp_message( &(sd)->bl, (mes), (len), SELF ) #define MAX_ROULETTE_LEVEL 7 /** client-defined value **/ #define MAX_ROULETTE_COLUMNS 9 /** client-defined value **/ -#define RGB2BGR(c) ((c & 0x0000FF) << 16 | (c & 0x00FF00) | (c & 0xFF0000) >> 16) +#define RGB2BGR(c) (((c) & 0x0000FF) << 16 | ((c) & 0x00FF00) | ((c) & 0xFF0000) >> 16) #define COLOR_RED 0xff0000U #define COLOR_GREEN 0x00ff00U |