projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a7ffc
)
fixes utils helper
author
Peng Wu
<alexepico@gmail.com>
Mon, 22 Oct 2012 04:16:37 +0000
(12:16 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Mon, 22 Oct 2012 04:17:09 +0000
(12:17 +0800)
utils/utils_helper.h
patch
|
blob
|
history
diff --git
a/utils/utils_helper.h
b/utils/utils_helper.h
index
6a90cce
..
3eb6778
100644
(file)
--- 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);