summaryrefslogtreecommitdiff
path: root/src/gui/truetypefont.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-19 17:46:46 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-19 17:46:46 +0000
commit41cf359468d6379bc0e033bee9ac148d1b9255dd (patch)
treed351692d76e861607fd504366ae22374613b0fec /src/gui/truetypefont.cpp
parentc3e36e443698b001e98219e48cc97e259ada0a1d (diff)
downloadmana-client-41cf359468d6379bc0e033bee9ac148d1b9255dd.tar.gz
mana-client-41cf359468d6379bc0e033bee9ac148d1b9255dd.tar.bz2
mana-client-41cf359468d6379bc0e033bee9ac148d1b9255dd.tar.xz
mana-client-41cf359468d6379bc0e033bee9ac148d1b9255dd.zip
Factored code between resource handlers. Implemented failure-friendly sprite loader.
Diffstat (limited to 'src/gui/truetypefont.cpp')
-rw-r--r--src/gui/truetypefont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/truetypefont.cpp b/src/gui/truetypefont.cpp
index 4f17b135..91c86da9 100644
--- a/src/gui/truetypefont.cpp
+++ b/src/gui/truetypefont.cpp
@@ -67,7 +67,7 @@ class TextChunk
std::string(TTF_GetError());
}
- img = Image::load(surface, std::string());
+ img = Image::load(surface);
SDL_FreeSurface(surface);
}