Skip to content

Commit

Permalink
[search.go] minor error string formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Jan 10, 2018
1 parent 21c5a0c commit 7efb7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func glyphSearch(arg string) (string, error) {
// test to confirm that Unicode code point falls in range U+0020 = min printable glyph to utf8.MaxRune value
ok := isIntInRange(int32(i))
if !ok {
errmsg := fmt.Errorf("Hexadecimal value '" + arg + "' was out of range.")
errmsg := fmt.Errorf("hexadecimal value '%s' was out of range", arg)
return "", errmsg
}
r := rune(i)
Expand Down

0 comments on commit 7efb7ca

Please sign in to comment.