diff options
author | Peng Wu <alexepico@gmail.com> | 2012-10-22 12:16:37 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-10-22 12:17:09 +0800 |
commit | bf3f5d029bb0432fbae882b8d0465d7a9b01f896 (patch) | |
tree | 798cdc5bc340476592af9fb71ba8737d4539a3a1 /utils/utils_helper.h | |
parent | 15a7ffc524b2220c1d1b1ae06db153207abe7bdf (diff) | |
download | libpinyin-bf3f5d029bb0432fbae882b8d0465d7a9b01f896.tar.gz libpinyin-bf3f5d029bb0432fbae882b8d0465d7a9b01f896.tar.xz libpinyin-bf3f5d029bb0432fbae882b8d0465d7a9b01f896.zip |
fixes utils helper
Diffstat (limited to 'utils/utils_helper.h')
-rw-r--r-- | utils/utils_helper.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/utils_helper.h b/utils/utils_helper.h index 6a90cce..3eb6778 100644 --- a/utils/utils_helper.h +++ b/utils/utils_helper.h @@ -58,13 +58,13 @@ if (2 != g_strv_length(strs)) \ assert(false); \ \ - phrase_token_t token = atoi(strs[0]); \ + phrase_token_t _token = atoi(strs[0]); \ const char * phrase = strs[1]; \ - if (null_token != token) \ + if (null_token != _token) \ assert(taglib_validate_token_with_string \ - (phrase_index, token, phrase)); \ + (phrase_index, _token, phrase)); \ \ - var = token; \ + var = _token; \ \ g_strfreev(strs); \ } while(false); |