From c8412c806d02e592beabbb2b825236bf255a767d Mon Sep 17 00:00:00 2001 From: rfm Date: Wed, 14 Apr 2010 10:36:15 +0000 Subject: [PATCH] Fix objc_skip_offset() to avoid skipping and extra character --- encoding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding.c b/encoding.c index 9d2446d..6e5b6ab 100644 --- a/encoding.c +++ b/encoding.c @@ -684,8 +684,8 @@ objc_skip_offset (const char *type) { if (*type == '+') type++; - while (isdigit ((unsigned char) *++type)) - ; + while (isdigit ((unsigned char) *type)) + type++; return type; }