aboutsummaryrefslogtreecommitdiffstats
path: root/regenc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-22 14:23:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-22 14:23:33 +0000
commit12d2c8ba41edb5a02a7471e39d67ece2894492d8 (patch)
tree5b2e87ac380efcb2141c4fab97e86c25c7214799 /regenc.c
parent624d07b0e4257a5261558a154eddd464d85e6174 (diff)
downloadruby-12d2c8ba41edb5a02a7471e39d67ece2894492d8.tar.gz
stripped trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regenc.c')
-rw-r--r--regenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regenc.c b/regenc.c
index 634afd8883..b625e63048 100644
--- a/regenc.c
+++ b/regenc.c
@@ -123,7 +123,7 @@ onigenc_strlen(OnigEncoding enc, const UChar* p, const UChar* end)
{
int n = 0;
UChar* q = (UChar* )p;
-
+
while (q < end) {
q += ONIGENC_MBC_ENC_LEN(enc, q, end);
n++;
@@ -137,7 +137,7 @@ onigenc_strlen_null(OnigEncoding enc, const UChar* s)
int n = 0;
UChar* p = (UChar* )s;
UChar* e = p + strlen((const char *)s);
-
+
while (1) {
if (*p == '\0') {
UChar* q;