diff options
author | Peng Wu <alexepico@gmail.com> | 2018-06-06 15:08:50 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-06-06 15:08:50 +0800 |
commit | fa7d7df55f7e2894742851068b39735992cca51d (patch) | |
tree | 09cd9d7bc2a2ade7742c23730af9197155126787 /src | |
parent | e0d134cb400b563f65bd9de36b5391a34b9e308c (diff) | |
download | ibus-libpinyin-fa7d7df55f7e2894742851068b39735992cca51d.tar.gz ibus-libpinyin-fa7d7df55f7e2894742851068b39735992cca51d.tar.xz ibus-libpinyin-fa7d7df55f7e2894742851068b39735992cca51d.zip |
update PYString.h
Diffstat (limited to 'src')
-rw-r--r-- | src/PYString.h | 4 |
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; } |