diff options
author | Strangerke | 2014-12-17 23:08:54 +0100 |
---|---|---|
committer | Strangerke | 2014-12-17 23:08:54 +0100 |
commit | 79b51f20e48f9f93a519f548ba42afdcb8a03899 (patch) | |
tree | e43ed04690fe15ad94bdd0afc917ed7cc329b6bb /engines/access/font.cpp | |
parent | 207c4012ad33f7f11b5375c1478ed2f5e13679b9 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |