summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_item.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 13:22:39 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 14:00:11 +0200
commit68935e461e64eeb85ea44c616d1eab58975b8e20 (patch)
tree471804168af54b681856211f26fefb5091b34c34 /crawl-ref/source/l_item.cc
parent15d548d4ba1148531b8d755d4130962126bccb52 (diff)
downloadcrawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz
crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/l_item.cc')
-rw-r--r--crawl-ref/source/l_item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_item.cc b/crawl-ref/source/l_item.cc
index e2a3951fed..eca394ea4c 100644
--- a/crawl-ref/source/l_item.cc
+++ b/crawl-ref/source/l_item.cc
@@ -402,7 +402,7 @@ static std::string _item_name(lua_State *ls, item_def* item)
else if (lua_isnumber(ls, 1))
ndesc = static_cast<description_level_type>(luaL_checkint(ls, 1));
const bool terse = lua_toboolean(ls, 2);
- return (item->name(ndesc, terse));
+ return item->name(ndesc, terse);
}
static int l_item_do_name(lua_State *ls)