diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-28 20:57:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-28 20:57:57 +0300 |
commit | 2ce24da6704e12b9f76614202e58802cddcd9e37 (patch) | |
tree | 89c76c813baa740511ff5bdf9e404e286011666a /src/resources | |
parent | d6094cc50fad47eb7071f077e4e630cbec6c5b18 (diff) | |
download | manaplus-2ce24da6704e12b9f76614202e58802cddcd9e37.tar.gz manaplus-2ce24da6704e12b9f76614202e58802cddcd9e37.tar.bz2 manaplus-2ce24da6704e12b9f76614202e58802cddcd9e37.tar.xz manaplus-2ce24da6704e12b9f76614202e58802cddcd9e37.zip |
Fix showing item stats in item popups.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/itemdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 5f92fc4e0..542fa6789 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -145,7 +145,7 @@ static void readFields(std::string &effect, if (!effect.empty()) effect.append(" / "); if (field->sign && isDigit(value)) - value.append("+").append(value); + value = std::string("+").append(value); const std::string format = translator->getStr(field->description); effect.append(strprintf(format.c_str(), value.c_str())); |