aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2002-07-13 13:12:06 +0000
committerMax Horn2002-07-13 13:12:06 +0000
commit1861053d3386b475a36b963d01d452dcf41f83b6 (patch)
tree5c25377011ffc1b67033aa2ce40857c83bdf2eda /gui
parent9514e7012e1f00cf68ac4f146812bf867edd7d53 (diff)
downloadscummvm-rg350-1861053d3386b475a36b963d01d452dcf41f83b6.tar.gz
scummvm-rg350-1861053d3386b475a36b963d01d452dcf41f83b6.tar.bz2
scummvm-rg350-1861053d3386b475a36b963d01d452dcf41f83b6.zip
oops
svn-id: r4535
Diffstat (limited to 'gui')
-rw-r--r--gui/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/util.cpp b/gui/util.cpp
index 96476c8423..2bd3ee4fda 100644
--- a/gui/util.cpp
+++ b/gui/util.cpp
@@ -240,9 +240,9 @@ const String& StringList::operator [](int idx) const
return *_data[idx];
}
-void String::clear()
+void StringList::clear()
{
- _len = 0;
+ _size = 0;
}
void StringList::ensureCapacity(int new_len)