summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorjailletc36 <christophe.jaillet@wanadoo.fr>2012-10-07 12:32:00 +0200
committerMuthu Subramanian <sumuthu@suse.com>2012-10-08 13:22:40 +0530
commite55414dfc4899b67b8bec82885dde22ddb72faec (patch)
tree8c47c02a6d67e019ce3059a7e9ba445795160204 /desktop
parent1fb40dafbefccf906108efb19f28696cd03d6aed (diff)
cppcheck: clarifyCalculation
Use () to clarify the order of the operator + minor formatting Change-Id: I3dfa6566758d30bd76bed478089a0937ade24f89
Diffstat (limited to 'desktop')
-rw-r--r--desktop/win32/source/guistdio/guistdio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/win32/source/guistdio/guistdio.inc b/desktop/win32/source/guistdio/guistdio.inc
index 25586f0be214..0c2f09712f27 100644
--- a/desktop/win32/source/guistdio/guistdio.inc
+++ b/desktop/win32/source/guistdio/guistdio.inc
@@ -75,7 +75,7 @@ DWORD passOutputToConsole(HANDLE readPipe, HANDLE console)
dwRead++;
//We must make sure that only complete wchar_t|s are written. WriteConsolse takes
//the number of wchar_t|s as argument. ReadFile, however, reads bytes.
- bIncompleteWchar = dwRead % 2 ? true : false;
+ bIncompleteWchar = (dwRead % 2) ? true : false;
if (bIncompleteWchar)
{
//To test this case, give aBuffer a small odd size, e.g. aBuffer[3]