summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PYString.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYString.h b/src/PYString.h
index aea2673..c8ac505 100644
--- a/src/PYString.h
+++ b/src/PYString.h
@@ -81,9 +81,9 @@ public:
return *this;
}
- String & truncate (guint len)
+ String & truncate (guint index)
{
- erase(len);
+ erase(index);
return *this;
}