From fa7d7df55f7e2894742851068b39735992cca51d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 6 Jun 2018 15:08:50 +0800 Subject: update PYString.h --- src/PYString.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit