mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-20 06:09:17 +02:00
bugfix
This commit is contained in:
parent
8b817966e8
commit
96e5692cb9
1 changed files with 2 additions and 2 deletions
|
@ -2041,7 +2041,7 @@ object Cyc_string_cmp(void *data, object str1, object str2)
|
|||
str[i] = ((string_type *)str1)->str; \
|
||||
len[i] = string_len((str1)); \
|
||||
total_len += len[i]; \
|
||||
total_cp += string_num_cp((str[i])); \
|
||||
total_cp += string_num_cp((str1)); \
|
||||
} \
|
||||
for (i = 1; i < argc; i++) { \
|
||||
tmp = va_arg(ap, object); \
|
||||
|
@ -2049,7 +2049,7 @@ object Cyc_string_cmp(void *data, object str1, object str2)
|
|||
str[i] = ((string_type *)tmp)->str; \
|
||||
len[i] = string_len((tmp)); \
|
||||
total_len += len[i]; \
|
||||
total_cp += string_num_cp((str[i])); \
|
||||
total_cp += string_num_cp((tmp)); \
|
||||
} \
|
||||
buffer = bufferp = alloca(sizeof(char) * total_len); \
|
||||
for (i = 0; i < argc; i++) { \
|
||||
|
|
Loading…
Add table
Reference in a new issue