summaryrefslogtreecommitdiffstats
path: root/Tests/SBCS/SBCS.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SBCS/SBCS.cxx')
-rw-r--r--Tests/SBCS/SBCS.cxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/Tests/SBCS/SBCS.cxx b/Tests/SBCS/SBCS.cxx
index 6ce2c9f..68c2283 100644
--- a/Tests/SBCS/SBCS.cxx
+++ b/Tests/SBCS/SBCS.cxx
@@ -1,21 +1,22 @@
-// Test to verify that _SBCS being defined causes CharacterSet to be set to 0 (Single Byte Character Set)
+// Test to verify that _SBCS being defined causes CharacterSet to be set to 0
+// (Single Byte Character Set)
-int main ()
+int main()
{
#ifdef _UNICODE
- bool UnicodeSet=true;
+ bool UnicodeSet = true;
#else
- bool UnicodeSet=false;
+ bool UnicodeSet = false;
#endif
#ifdef _MBCS
- bool MBCSSet=true;
+ bool MBCSSet = true;
#else
- bool MBCSSet=false;
+ bool MBCSSet = false;
#endif
// if neither _UNICODE nor _MBCS is set, CharacterSet must be set to SBCS.
- bool SBCSSet=(!UnicodeSet && !MBCSSet);
+ bool SBCSSet = (!UnicodeSet && !MBCSSet);
// Reverse boolean to indicate error case correctly
return !SBCSSet;