From 84e3375e08953a6b9f5b42b6358c34be7d701338 Mon Sep 17 00:00:00 2001 From: Lenni Date: Sun, 7 Mar 2021 16:19:31 +0100 Subject: reworded a weird comment --- examples/shapes/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/shapes/main.go') diff --git a/examples/shapes/main.go b/examples/shapes/main.go index d2f8132..ffc911d 100644 --- a/examples/shapes/main.go +++ b/examples/shapes/main.go @@ -200,8 +200,9 @@ func main() { // Draw the text. Xorg currently knows two ways of specifying text: // a) the (extended) ASCII encoding using ImageText8(..., []byte) - // b) UTF16 encoding using ImageText16(..., []Char2b) -- Char2b is simply two bytes - // at the bottom of this file, there are two utility functions that help + // b) UTF16 encoding using ImageText16(..., []Char2b) -- Char2b is + // a structure consisting of two bytes. + // At the bottom of this example, there are two utility functions that help // convert a go string into an array of Char2b's. xproto.ImageText16(X, byte(len(text)), draw, textCtx, 10, 160, text) -- cgit v1.2.3