diff --git a/.gitignore b/.gitignore index 8ab6d99..a3b2d0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # Object files *.o +# idea +.idea/ + # Libraries *.lib *.a @@ -48,5 +51,6 @@ run-tests.php *.la *.lo *.bat +*.loT diff --git a/src/pinyin.c b/src/pinyin.c index acf1b16..9dba195 100644 --- a/src/pinyin.c +++ b/src/pinyin.c @@ -133,5 +133,5 @@ PHP_FUNCTION(pinyin) pyr = cn_word; } - ZVAL_STRING(return_value, pyr, 1); + ZVAL_STRING(return_value, pyr); }