diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-10-24 02:47:20 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-10-24 02:47:20 +0200 |
commit | 12cb4c910304fa9920a03f45ec89109d122d1780 (patch) | |
tree | c00d3e6dda0a8ae81bc5b3188d65ea7c4f52750c /crawl-ref/source/tilereg-menu.cc | |
parent | 8a8c1eb2f8092e8485ad4d42c1a7eda63cdc9d80 (diff) | |
download | crawl-ref-12cb4c910304fa9920a03f45ec89109d122d1780.tar.gz crawl-ref-12cb4c910304fa9920a03f45ec89109d122d1780.zip |
Drop a lot of unnecessary braces.
The perl one-liner I use for this had a bug where it didn't match "else"
at the end of a line (ie, most of the time).
Diffstat (limited to 'crawl-ref/source/tilereg-menu.cc')
-rw-r--r-- | crawl-ref/source/tilereg-menu.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/tilereg-menu.cc b/crawl-ref/source/tilereg-menu.cc index a15a619ef9..c30283748b 100644 --- a/crawl-ref/source/tilereg-menu.cc +++ b/crawl-ref/source/tilereg-menu.cc @@ -269,9 +269,7 @@ void MenuRegion::_place_entries(const int left_offset, const int top_offset, text.del_char(); } else - { text += m_entries[i].text; - } int w = entry_start + column_width - text_sx - tile_indent; int h = m_font_entry->char_height() * 2; |