pretty: avoid reading past end-of-string with "%G"