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/tileweb-text.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/tileweb-text.cc')
-rw-r--r-- | crawl-ref/source/tileweb-text.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tileweb-text.cc b/crawl-ref/source/tileweb-text.cc index 14eb5a991a..ee1c645e55 100644 --- a/crawl-ref/source/tileweb-text.cc +++ b/crawl-ref/source/tileweb-text.cc @@ -81,7 +81,7 @@ void WebTextArea::put_character(ucs_t chr, int fg, int bg, int x, int y) ASSERT_RANGE(y, 0, my); uint8_t col = (fg & 0xf) + (bg << 4); - if ((m_cbuf[x + y * mx] != chr) || (m_abuf[x + y * mx] != col)) + if (m_cbuf[x + y * mx] != chr || m_abuf[x + y * mx] != col) m_dirty = true; m_cbuf[x + y * mx] = chr; |