summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/TECommon.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2013-10-19 18:25:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-19 19:17:07 +0200
commit2a5554c07cb144d1df794427863ce19bbfa59155 (patch)
tree33f964906b76059bb2f418d3ea9e6f25b248da8d /konsole/konsole/TECommon.h
parenta7427e16eff4d367d894abc012de2e732911beb0 (diff)
downloadtdebase-2a5554c07cb144d1df794427863ce19bbfa59155.tar.gz
tdebase-2a5554c07cb144d1df794427863ce19bbfa59155.zip
Cleanup build warnings in konsole
Diffstat (limited to 'konsole/konsole/TECommon.h')
-rw-r--r--konsole/konsole/TECommon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/konsole/konsole/TECommon.h b/konsole/konsole/TECommon.h
index 94b5ecc33..6b3c6621b 100644
--- a/konsole/konsole/TECommon.h
+++ b/konsole/konsole/TECommon.h
@@ -221,14 +221,14 @@ inline bool operator != (ca a, ca b)
inline bool ca::isTransparent(const ColorEntry* base) const
{
- return (b.t == CO_DFT) && base[b.u+0+(b.v?BASE_COLORS:0)].transparent
- || (b.t == CO_SYS) && base[b.u+2+(b.v?BASE_COLORS:0)].transparent;
+ return ((b.t == CO_DFT) && base[b.u+0+(b.v?BASE_COLORS:0)].transparent)
+ || ((b.t == CO_SYS) && base[b.u+2+(b.v?BASE_COLORS:0)].transparent);
}
inline bool ca::isBold(const ColorEntry* base) const
{
- return (f.t == CO_DFT) && base[f.u+0+(f.v?BASE_COLORS:0)].bold
- || (f.t == CO_SYS) && base[f.u+2+(f.v?BASE_COLORS:0)].bold;
+ return ((f.t == CO_DFT) && base[f.u+0+(f.v?BASE_COLORS:0)].bold)
+ || ((f.t == CO_SYS) && base[f.u+2+(f.v?BASE_COLORS:0)].bold);
}
#endif // TECOMMON_H