summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/gui/sdlfont.cpp
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadplus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
plus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r--src/gui/sdlfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp
index 07da298b2..5e859be53 100644
--- a/src/gui/sdlfont.cpp
+++ b/src/gui/sdlfont.cpp
@@ -370,7 +370,7 @@ SDLFont::SDLFont(std::string filename,
if (!mFont)
{
logger->log("Error finding font " + filename);
- std::string backFile = "fonts/dejavusans.ttf";
+ std::string backFile("fonts/dejavusans.ttf");
mFont = openFont(fixDirSeparators(backFile).c_str(), size);
if (!mFont)
{