From 5cb45cfda2fc3a07db037865a387f07ca996b64d Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Wed, 28 Sep 2011 00:58:42 +0800 Subject: [PATCH] Minor changes with code style. --- src/Character.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Character.h b/src/Character.h index a93d6ed38..9fde2eedb 100644 --- a/src/Character.h +++ b/src/Character.h @@ -34,10 +34,10 @@ namespace Konsole typedef unsigned char LineProperty; -static const int LINE_DEFAULT = 0; -static const int LINE_WRAPPED = (1 << 0); -static const int LINE_DOUBLEWIDTH = (1 << 1); -static const int LINE_DOUBLEHEIGHT = (1 << 2); +static const int LINE_DEFAULT = 0; +static const int LINE_WRAPPED = (1 << 0); +static const int LINE_DOUBLEWIDTH = (1 << 1); +static const int LINE_DOUBLEHEIGHT = (1 << 2); #define DEFAULT_RENDITION 0 #define RE_BOLD (1 << 0) @@ -100,7 +100,7 @@ public: /** * returns true if the format (color, rendition flag) of the compared characters is equal */ - bool equalsFormat(const Character &other) const; + bool equalsFormat(const Character& other) const; /** * Compares two characters and returns true if they have the same unicode character value, @@ -149,9 +149,9 @@ inline bool Character::isTransparent(const ColorEntry* base) const inline bool Character::equalsFormat(const Character& other) const { return - backgroundColor==other.backgroundColor && - foregroundColor==other.foregroundColor && - rendition==other.rendition; + backgroundColor == other.backgroundColor && + foregroundColor == other.foregroundColor && + rendition == other.rendition; } inline ColorEntry::FontWeight Character::fontWeight(const ColorEntry* base) const