summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:33:00 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 13:03:12 +0200
commit53671ccab2db8416aa16b9df6ba799e0cfaa78dd (patch)
tree652c985a199e144b6795ce64a7011b4f5a68a022 /crawl-ref/source/database.cc
parent1e34f3b3685886a2186a90ee2e6c976aa15c8730 (diff)
downloadcrawl-ref-53671ccab2db8416aa16b9df6ba799e0cfaa78dd.tar.gz
crawl-ref-53671ccab2db8416aa16b9df6ba799e0cfaa78dd.zip
String scalars are scalars, too.
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r--crawl-ref/source/database.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc
index 7cd709cde3..c9e98f62b2 100644
--- a/crawl-ref/source/database.cc
+++ b/crawl-ref/source/database.cc
@@ -565,7 +565,7 @@ static std::string _chooseStrByWeight(std::string entry, int fixed_weight = -1)
{
i++;
if (i == size)
- return ("BUG, WEIGHT AT END OF ENTRY");
+ return "BUG, WEIGHT AT END OF ENTRY";
}
else
weight = 10;