summaryrefslogtreecommitdiff
path: root/src/unistring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistring.h')
-rw-r--r--src/unistring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistring.h b/src/unistring.h
index 7d78d134..340115eb 100644
--- a/src/unistring.h
+++ b/src/unistring.h
@@ -44,7 +44,7 @@
namespace ledger {
-int mk_wcwidth_cjk(boost::uint32_t ucs);
+int mk_wcwidth(boost::uint32_t ucs);
/**
* @class unistring
@@ -86,7 +86,7 @@ public:
std::size_t width() const {
std::size_t width = 0;
foreach (const boost::uint32_t& ch, utf32chars) {
- width += mk_wcwidth_cjk(ch);
+ width += mk_wcwidth(ch);
}
return width;
}