Fix bug in S_MOD

This commit is contained in:
Nunuhara Cabbage
2019-11-18 21:53:51 -08:00
parent 70ab217ca0
commit 00c4e7bf1f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -471,6 +471,7 @@ struct string *string_format(struct string *fmt, union vm_value arg)
parse_fmt_spec(&s, &spec);
append_fmt(&out, &spec, arg);
string_append_cstr(&out, s, strlen(s));
break;
}
}
return out;