Navigation Menu

Skip to content

Commit

Permalink
Place { into the same line
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 10, 2012
1 parent 5a96630 commit fdcc222
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/mrn_index_table_name.cpp
Expand Up @@ -66,19 +66,15 @@ namespace mrn {
mysql_string < mysql_string_end &&
encoded < encoded_end;
mysql_string += mb_wc_converted_length,
encoded += wc_mb_converted_length)
{
encoded += wc_mb_converted_length) {
mb_wc_converted_length =
(*mb_wc)(NULL, &wc, mysql_string, mysql_string_end);
if (mb_wc_converted_length > 0)
{
if (mb_wc_converted_length > 0) {
wc_mb_converted_length = (*wc_mb)(NULL, wc, encoded, encoded_end);
if (wc_mb_converted_length <= 0)
{
if (wc_mb_converted_length <= 0) {
break;
}
} else if (mb_wc_converted_length == MY_CS_ILSEQ)
{
} else if (mb_wc_converted_length == MY_CS_ILSEQ) {
*encoded = *mysql_string;
mb_wc_converted_length = 1;
wc_mb_converted_length = 1;
Expand Down

0 comments on commit fdcc222

Please sign in to comment.