prevent out-of-bounds string access

... while entering a   *   star symbol format code and there's no fill
character following the * yet.

Change-Id: I006f125ceefccba6a95ea033fd434d98e5d4f1c2