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 | 6db3e0bf4aa2c69851f8a8ddc7deff888becd5df (patch) | |
tree | dd111ab67624dcf6659b19b75405c107d84c5420 /texteff.c | |
parent | fce635719a95a73110b34e59f6f548f02262ecb7 (diff) | |
download | openttd-6db3e0bf4aa2c69851f8a8ddc7deff888becd5df.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; |