update string.h.md; ref #2931

This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-09-02 15:09:50 +09:00
parent 7ce5b21c1d
commit 14f0e4a4e4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2385,10 +2385,10 @@ mrb_str_cat_str(mrb_state *mrb, mrb_value str, mrb_value str2)
}
MRB_API mrb_value
mrb_str_append(mrb_state *mrb, mrb_value str, mrb_value str2)
mrb_str_append(mrb_state *mrb, mrb_value str1, mrb_value str2)
{
str2 = mrb_str_to_str(mrb, str2);
return mrb_str_cat_str(mrb, str, str2);
return mrb_str_cat_str(mrb, str1, str2);
}
#define CHAR_ESC_LEN 13 /* sizeof(\x{ hex of 32bit unsigned int } \0) */