diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-11-13 01:26:40 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-11-13 01:26:40 -0800 |
| commit | 9849501686fee78dd58b27b1c6519707671d6484 (patch) | |
| tree | 8ab4ebe11d66fe407b188383078708cc8ccdb80e /src/sprintf.c | |
| parent | 7ff70bd75f1d6094130557f7c9d88c4b427e98b3 (diff) | |
| parent | 224da1e6ecc1d2f47ea3cdbfac294cdbe7cdc3dd (diff) | |
| download | mruby-9849501686fee78dd58b27b1c6519707671d6484.tar.gz mruby-9849501686fee78dd58b27b1c6519707671d6484.zip | |
Merge pull request #548 from monaka/pr-remove-redundant-char
Remove a redundant "%".
Diffstat (limited to 'src/sprintf.c')
| -rw-r--r-- | src/sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sprintf.c b/src/sprintf.c index 630875a88..0e8ac830f 100644 --- a/src/sprintf.c +++ b/src/sprintf.c @@ -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; |
