summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/overmap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/overmap.cc')
-rw-r--r--crawl-ref/source/overmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/overmap.cc b/crawl-ref/source/overmap.cc
index deda426c5e..caa364599a 100644
--- a/crawl-ref/source/overmap.cc
+++ b/crawl-ref/source/overmap.cc
@@ -576,7 +576,7 @@ void seen_other_thing( dungeon_feature_type which_thing, const coord_def& pos )
void set_level_annotation(std::string str,
level_id li)
{
- if (str == "")
+ if (str.empty())
{
clear_level_annotation(li);
return;