Remove a redundant "%".

This commit is contained in:
Masaki Muranaka
2012-11-13 12:59:00 +09:00
parent 1cd9d7e40a
commit 224da1e6ec
+1 -1
View File
@@ -671,7 +671,7 @@ retry:
tmp = mrb_check_string_type(mrb, val);
if (!mrb_nil_p(tmp)) {
if (RSTRING_LEN(tmp) != 1 ) {
mrb_raise(mrb, E_ARGUMENT_ERROR, "%%c requires a character");
mrb_raise(mrb, E_ARGUMENT_ERROR, "%c requires a character");
}
c = RSTRING_PTR(tmp)[0];
n = 1;