[bugfix] return value from pic_get_args does not include proc object

This commit is contained in:
Yuichi Nishiwaki 2014-06-28 21:53:14 +09:00
parent 76220e1e8e
commit 4fd99b5955
1 changed files with 2 additions and 2 deletions

View File

@ -386,9 +386,9 @@ pic_str_string_fill_ip(pic_state *pic)
n = pic_get_args(pic, "sc|ii", &str, &c, &start, &end);
switch (n) {
case 1:
start = 0;
case 2:
start = 0;
case 3:
end = pic_strlen(str);
}