diff options
author | ehriche <eehrich@googlemail.com> | 2015-05-06 01:39:42 +0200 |
---|---|---|
committer | ehriche <eehrich@googlemail.com> | 2015-05-06 01:39:42 +0200 |
commit | ac9263c680076eed36887a681cb59fdcce6c6f73 (patch) | |
tree | 8697141f87dfb4b3c87c895126e0821cdd545bd3 /scene/gui | |
parent | b89cd136a9ce85d1ecf397e8129897a5bd2dd839 (diff) |
clearified parenthesis of if construct
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 1751d335ee..dac21275dc 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -433,7 +433,7 @@ void Label::regenerate_word_cache() { } - if ((autowrap && line_width>=width && (last && last->char_pos >= 0 || not_latin)) || insert_newline) { + if ((autowrap && (line_width >= width) && ((last && last->char_pos >= 0) || not_latin)) || insert_newline) { if (not_latin) { if (current_word_size>0) { WordCache *wc = memnew( WordCache ); |