diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-27 11:09:24 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-27 11:09:24 +0000 |
commit | bc3c56ffeb832f45fc8009b586697e27f3f1c49a (patch) | |
tree | dd111ab67624dcf6659b19b75405c107d84c5420 /texteff.c | |
parent | 2543ab6b27be1b3bfdded804a1a628bdc996179a (diff) | |
download | openttd-bc3c56ffeb832f45fc8009b586697e27f3f1c49a.tar.xz |
(svn r6957) -Cleanup: comments, coding style
Diffstat (limited to 'texteff.c')
-rw-r--r-- | texteff.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -48,7 +48,7 @@ static bool _textmessage_visible = false; static const Oblong _textmsg_box = {10, 30, 500, 150}; static Pixel _textmessage_backup[150 * 500]; // (height * width) -extern void memcpy_pitch(void *d, void *s, int w, int h, int spitch, int dpitch); +extern void memcpy_pitch(void *dst, void *src, int w, int h, int srcpitch, int dstpitch); static inline uint GetTextMessageCount(void) { @@ -240,8 +240,7 @@ void AddTextEffect(StringID msg, int x, int y, uint16 duration) int w; char buffer[100]; - if (_game_mode == GM_MENU) - return; + if (_game_mode == GM_MENU) return; for (te = _text_effect_list; te->string_id != INVALID_STRING_ID; ) { if (++te == endof(_text_effect_list)) return; |