aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
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)