diff options
author | Joseph-Eugene Winzer | 2018-03-09 11:20:47 +0100 |
---|---|---|
committer | Joseph-Eugene Winzer | 2018-03-11 23:25:00 +0100 |
commit | a38db245ed349e1088dbeec8c41dd0c4c7549ade (patch) | |
tree | 982313561dd30b86e6983bd6f92a189cd4f21ec9 /engines/supernova/supernova.h | |
parent | 0770800844854ade735524b33e04b0a7858eefe7 (diff) | |
download | scummvm-rg350-a38db245ed349e1088dbeec8c41dd0c4c7549ade.tar.gz scummvm-rg350-a38db245ed349e1088dbeec8c41dd0c4c7549ade.tar.bz2 scummvm-rg350-a38db245ed349e1088dbeec8c41dd0c4c7549ade.zip |
SUPERNOVA: Fixes formatting
Because of confusion when indentation level is raised and thus tabs or
spaces should be used when aligning code, this commit switches to tabs
to avoid any further confusion.
Diffstat (limited to 'engines/supernova/supernova.h')
-rw-r--r-- | engines/supernova/supernova.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h index 90ea884f0b..0725e0c05c 100644 --- a/engines/supernova/supernova.h +++ b/engines/supernova/supernova.h @@ -78,8 +78,8 @@ private: struct SoundSample { SoundSample() - : _buffer(NULL) - , _length(0) + : _buffer(NULL) + , _length(0) {} ~SoundSample() { @@ -124,8 +124,8 @@ public: int _textCursorY; int _textColor; - int textWidth(const char *text); - int textWidth(const uint16 key); + int textWidth(const char *text); + int textWidth(const uint16 key); Common::Error loadGameStrings(); void initData(); void initPalette(); @@ -169,7 +169,7 @@ public: _gameStrings[idx] = string; } - int textWidth(const Common::String &text) { + int textWidth(const Common::String &text) { if (text.empty()) return 0; return textWidth(text.c_str()); |