summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-06-06 15:08:50 +0800
committerPeng Wu <alexepico@gmail.com>2018-06-06 15:08:50 +0800
commitfa7d7df55f7e2894742851068b39735992cca51d (patch)
tree09cd9d7bc2a2ade7742c23730af9197155126787 /src
parente0d134cb400b563f65bd9de36b5391a34b9e308c (diff)
downloadibus-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.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;
}