mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-04-27 10:50:47 +00:00
fixed error found in circleCI testing
This commit is contained in:
parent
a9dce0e6c6
commit
76299f1bc3
@ -146,7 +146,7 @@ func (c *ClientConn) CutText(text string) error {
|
||||
|
||||
for _, char := range text {
|
||||
if char > unicode.MaxLatin1 {
|
||||
return fmt.Errorf("Character '%s' is not valid Latin-1", char)
|
||||
return fmt.Errorf("Character '%v' is not valid Latin-1", char)
|
||||
}
|
||||
|
||||
if err := binary.Write(&buf, binary.BigEndian, uint8(char)); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user