diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-16 20:52:02 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-16 20:52:02 (GMT) |
commit | 809ca6c81fa23cec111a9e97529d71538c55f9eb (patch) | |
tree | e4597803f8385cbc1a38629cca5d102cff492b31 /Source/cmFileCommand.cxx | |
parent | 516f8edb2e061749c56b6f9a58332fbf59e45a1a (diff) | |
download | CMake-809ca6c81fa23cec111a9e97529d71538c55f9eb.zip CMake-809ca6c81fa23cec111a9e97529d71538c55f9eb.tar.gz CMake-809ca6c81fa23cec111a9e97529d71538c55f9eb.tar.bz2 |
Use braces around statements
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 8356fc7..a13309d 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -600,8 +600,9 @@ bool cmFileCommand::HandleStringsCommand(std::vector<std::string> const& args) // how many octets are there? unsigned int num_utf8_bytes = 0; for (unsigned int j = 0; num_utf8_bytes == 0 && j < 3; j++) { - if ((c & utf8_check_table[j][0]) == utf8_check_table[j][1]) + if ((c & utf8_check_table[j][0]) == utf8_check_table[j][1]) { num_utf8_bytes = j + 2; + } } // get subsequent octets and check that they are valid |