From 9d3b975bcb84ad1c61d628de2804751c0d0707dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 May 2011 01:27:37 +0300 Subject: Fix code style and missing members initialisations. --- src/guichan/key.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/guichan/key.cpp') diff --git a/src/guichan/key.cpp b/src/guichan/key.cpp index 70e965209..1609a6a3c 100644 --- a/src/guichan/key.cpp +++ b/src/guichan/key.cpp @@ -49,8 +49,8 @@ namespace gcn { - Key::Key(int value) - :mValue(value) + Key::Key(int value) : + mValue(value) { } @@ -69,8 +69,8 @@ namespace gcn bool Key::isLetter() const { return (((mValue >= 65 && mValue <= 90) - || (mValue >= 97 && mValue <= 122) - || (mValue >= 192 && mValue <= 255)) + || (mValue >= 97 && mValue <= 122) + || (mValue >= 192 && mValue <= 255)) && (mValue != 215) && (mValue != 247)); } @@ -78,14 +78,14 @@ namespace gcn { return mValue; } - - bool Key::operator==(const Key& key) const - { - return mValue == key.mValue; - } - bool Key::operator!=(const Key& key) const - { - return (mValue != key.mValue); - } + bool Key::operator==(const Key& key) const + { + return mValue == key.mValue; + } + + bool Key::operator!=(const Key& key) const + { + return (mValue != key.mValue); + } } -- cgit v1.2.3-70-g09d2