From 4b46dab775c872745a40789f1459d39d8f2e7a82 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 10 Feb 2017 11:09:36 -0500 Subject: [PATCH] And that last fix also fixed the issue about byte 1 being wrong. --- examples/drawtext/hittest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/drawtext/hittest.c b/examples/drawtext/hittest.c index 0ae2df5d..ab0bc5f5 100644 --- a/examples/drawtext/hittest.c +++ b/examples/drawtext/hittest.c @@ -168,7 +168,6 @@ static void mouse(uiAreaMouseEvent *e) // urgh %zd is not supported by MSVC with sprintf() // TODO get that part in test/ about having no other option - // TODO byte 1 is actually byte 684?! sprintf(labelText, "pos %d line %d",// x %g",// x position %s y position %s", (int) caretPos, caretLine);//, caretX); /* (int) (res.Pos), res.Line,