mruby/mruby — pull request #2584 by cremno (2014-09-03 08:27:21+00:00)
Title: replace for + wrong sizeof with a switch

`sizeof(invalid)` returns the size of a `char*` and not of the string pointed to.