diff options
author | Adam Borowski <kilobyte@angband.pl> | 2014-01-09 22:46:14 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2014-01-10 01:27:07 +0100 |
commit | 08cb1a4dcf80dd9784e1cfd26729a000c13fe767 (patch) | |
tree | 1bac450446aa22ba68f871d3c239694929d1b24f /crawl-ref/source/fontwrapper-ft.cc | |
parent | a735ae8250517f301fbf828a4f4cbc4924df3adb (diff) | |
download | crawl-ref-08cb1a4dcf80dd9784e1cfd26729a000c13fe767.tar.gz crawl-ref-08cb1a4dcf80dd9784e1cfd26729a000c13fe767.zip |
Drop some useless parentheses around comparisons.
Diffstat (limited to 'crawl-ref/source/fontwrapper-ft.cc')
-rw-r--r-- | crawl-ref/source/fontwrapper-ft.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fontwrapper-ft.cc b/crawl-ref/source/fontwrapper-ft.cc index 87c5996b1e..2066385efc 100644 --- a/crawl-ref/source/fontwrapper-ft.cc +++ b/crawl-ref/source/fontwrapper-ft.cc @@ -592,7 +592,7 @@ formatted_string FTFontWrapper::split(const formatted_string &str, if (++num_lines >= max_lines || !space_idx) { int ellipses; - if (space_idx && (space_idx - line_end > 2)) + if (space_idx && space_idx - line_end > 2) ellipses = space_idx; else ellipses = line_end - 2; |