From 58fff53f614d9170eb2faef3f3d92abb1773fed1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 24 Feb 2017 21:18:15 -0500 Subject: [PATCH] More TODOs... --- common/drawtext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/drawtext.c b/common/drawtext.c index 938e1aeb..ca66796a 100644 --- a/common/drawtext.c +++ b/common/drawtext.c @@ -2,6 +2,8 @@ #include "../ui.h" #include "uipriv.h" +// TODO this doesn't handle the case where nLines == 0 +// TODO this should never happen even if there are no characters?? // TODO figure out how to make this work on GTK+ void uiDrawCaret(uiDrawContext *c, double x, double y, uiDrawTextLayout *layout, size_t pos, int *line) {