aboutsummaryrefslogtreecommitdiff
path: root/engines/access/font.cpp
diff options
context:
space:
mode:
authorStrangerke2014-12-17 23:08:54 +0100
committerStrangerke2014-12-17 23:08:54 +0100
commit79b51f20e48f9f93a519f548ba42afdcb8a03899 (patch)
treee43ed04690fe15ad94bdd0afc917ed7cc329b6bb /engines/access/font.cpp
parent207c4012ad33f7f11b5375c1478ed2f5e13679b9 (diff)
downloadscummvm-rg350-79b51f20e48f9f93a519f548ba42afdcb8a03899.tar.gz
scummvm-rg350-79b51f20e48f9f93a519f548ba42afdcb8a03899.tar.bz2
scummvm-rg350-79b51f20e48f9f93a519f548ba42afdcb8a03899.zip
ACCESS: Use clear to empty Common::String variables
Diffstat (limited to 'engines/access/font.cpp')
-rw-r--r--engines/access/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/font.cpp b/engines/access/font.cpp
index 3ff1b7e679..da8f0b6ec5 100644
--- a/engines/access/font.cpp
+++ b/engines/access/font.cpp
@@ -112,7 +112,7 @@ bool Font::getLine(Common::String &s, int maxWidth, Common::String &line, int &w
// If this was the last character of the string, let it go
if (*src == '\0') {
line = Common::String(s.c_str(), src);
- s = "";
+ s.clear();
return true;
}