summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_String.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_String.cxx b/src/Fl_String.cxx
index f53a2da3e..57103d700 100644
--- a/src/Fl_String.cxx
+++ b/src/Fl_String.cxx
@@ -86,8 +86,6 @@ void Fl_String::alloc_buf(int size) {
return;
if (size > 0 && size <= capacity_)
return;
- if (capacity_ > 0)
- return;
int new_size = (size + 1 + 15) & (~15); // round upwards
char *new_value = new char[new_size];