summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 20:34:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 20:59:26 +0300
commitbdec92381ef60cd027292ed63e254e8de70028d9 (patch)
treeebf2722cdc9fe7383a709ba1584432a491cf10ba /src/utils/translation
parent5283a59db971ec2038149bf26ad9b3cbc4924449 (diff)
downloadplus-bdec92381ef60cd027292ed63e254e8de70028d9.tar.gz
plus-bdec92381ef60cd027292ed63e254e8de70028d9.tar.bz2
plus-bdec92381ef60cd027292ed63e254e8de70028d9.tar.xz
plus-bdec92381ef60cd027292ed63e254e8de70028d9.zip
In virtfs replace parameters type from char* to std::string.
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/poparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp
index 7aaca2349..1bd051b48 100644
--- a/src/utils/translation/poparser.cpp
+++ b/src/utils/translation/poparser.cpp
@@ -262,7 +262,7 @@ PoDict *PoParser::getEmptyDict()
bool PoParser::checkLang(const std::string &lang)
{
// check is po file exists
- return VirtFs::exists(getFileName(lang).c_str());
+ return VirtFs::exists(getFileName(lang));
}
std::string PoParser::getFileName(const std::string &lang)