From 2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 6 Sep 2012 16:45:49 +1000 Subject: Note about a segfault found by Roy Tam on the toybox mailing list. --- boxes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'boxes.c') diff --git a/boxes.c b/boxes.c index f0e721c..5945308 100644 --- a/boxes.c +++ b/boxes.c @@ -838,6 +838,7 @@ void formatCheckCursor(view *view, long *cX, long *cY, char *input) } // TODO - Should convert control characters to reverse video, and deal with UTF8. +// TODO - We get passed a NULL input, apparently when the file length is close to the screen length. See the mailing list for details. Fix that. int formatLine(view *view, char *input, char **output) { int len = strlen(input), i = 0, o = 0; -- cgit v1.1