summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-09 16:21:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-09 16:21:59 +0300
commita360f4e0af9df1d5276f977d68ac2f357b14ffae (patch)
treeec13f49e5a4ee16dbdb5fbd69ce53d3c60969a06 /src/gui/palette.h
parent2541754f6c607acfd1304af38280b534f7a8e0d7 (diff)
downloadplus-a360f4e0af9df1d5276f977d68ac2f357b14ffae.tar.gz
plus-a360f4e0af9df1d5276f977d68ac2f357b14ffae.tar.bz2
plus-a360f4e0af9df1d5276f977d68ac2f357b14ffae.tar.xz
plus-a360f4e0af9df1d5276f977d68ac2f357b14ffae.zip
Fix code style.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index e36f59aae..1918a27ac 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -67,7 +67,8 @@ class Palette
*
* @return the requested color or Palette::BLACK
*/
- const gcn::Color &getCharColor(const signed char c, bool &valid) A_WARN_UNUSED;
+ const gcn::Color &getCharColor(const signed char c,
+ bool &valid) A_WARN_UNUSED;
int getIdByChar(const signed char c, bool &valid) A_WARN_UNUSED;
@@ -80,7 +81,8 @@ class Palette
*
* @return the requested color
*/
- inline const gcn::Color &getColor(int type, int alpha = 255) A_WARN_UNUSED
+ inline const gcn::Color &getColor(int type,
+ int alpha = 255) A_WARN_UNUSED
{
if (type >= static_cast<signed>(mColors.size()) || type < 0)
{