diff options
author | Max Horn | 2003-10-08 21:09:21 +0000 |
---|---|---|
committer | Max Horn | 2003-10-08 21:09:21 +0000 |
commit | 9e5c5e292a5839c9df787afbd44b9ac6f148a100 (patch) | |
tree | ad2a8ed480c76f5051e284d7a750e9c51fecec17 | |
parent | cf3ac50e3c76e3aa0d9e5c30ba4e83e6a4c4d85d (diff) | |
download | scummvm-rg350-9e5c5e292a5839c9df787afbd44b9ac6f148a100.tar.gz scummvm-rg350-9e5c5e292a5839c9df787afbd44b9ac6f148a100.tar.bz2 scummvm-rg350-9e5c5e292a5839c9df787afbd44b9ac6f148a100.zip |
humpf
svn-id: r10685
-rw-r--r-- | common/str.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/str.cpp b/common/str.cpp index 0d2d3613f5..0313e0ccd4 100644 --- a/common/str.cpp +++ b/common/str.cpp @@ -140,7 +140,7 @@ String &String::operator += (char c) { return *this; } -char lastChar() const { +char String::lastChar() const { return (_len > 0) ? _str[_len-1] : 0; } |