summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-14 02:11:55 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-14 02:11:55 +0300
commit06dccbaa3d581aa3790ecc1d7b9c2385e16c9c20 (patch)
treec884e11767b57bfaffd0643324d146dbdfe16a8b /src/text.h
parentc0a5fffb45f849e224750f27fa8c3be5ac447ad6 (diff)
downloadmv-06dccbaa3d581aa3790ecc1d7b9c2385e16c9c20.tar.gz
mv-06dccbaa3d581aa3790ecc1d7b9c2385e16c9c20.tar.bz2
mv-06dccbaa3d581aa3790ecc1d7b9c2385e16c9c20.tar.xz
mv-06dccbaa3d581aa3790ecc1d7b9c2385e16c9c20.zip
Add more checks and some code cleanups.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/text.h b/src/text.h
index 5249be967..2b0eaa97b 100644
--- a/src/text.h
+++ b/src/text.h
@@ -95,12 +95,14 @@ class FlashText : public Text
/**
* Remove the text from the screen
*/
- virtual ~FlashText() {}
+ virtual ~FlashText()
+ { }
/**
* Flash the text for so many refreshes.
*/
- void flash(int time) {mTime = time; }
+ void flash(int time)
+ { mTime = time; }
/**
* Draws the text.