[bugfix] get rid of a comma

This commit is contained in:
Yuichi Nishiwaki 2013-11-26 04:05:37 -08:00
parent c59d8f601b
commit b7f0f3dfb3
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ new_uniq_sym(pic_state *pic, pic_sym base)
char *str; char *str;
pic_sym uniq; pic_sym uniq;
str = (char *)pic_alloc(pic, strlen(pic_symbol_name(pic, base)), + (int)log10(s) + 2); str = (char *)pic_alloc(pic, strlen(pic_symbol_name(pic, base)) + (int)log10(s) + 2);
sprintf(str, "%s@%d", pic_symbol_name(pic, base), s); sprintf(str, "%s@%d", pic_symbol_name(pic, base), s);
uniq = pic_intern_cstr(pic, str); uniq = pic_intern_cstr(pic, str);