aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-09-06 16:45:49 +1000
committerDavid Walter Seikel2012-09-06 16:45:49 +1000
commit2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808 (patch)
tree7bbd393211e8e264499b309dd0dbdb70fd7a446a
parentAdd the actual source file. (diff)
downloadboxes-2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808.zip
boxes-2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808.tar.gz
boxes-2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808.tar.bz2
boxes-2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808.tar.xz
Note about a segfault found by Roy Tam on the toybox mailing list.
-rw-r--r--boxes.c1
1 files changed, 1 insertions, 0 deletions
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)
838} 838}
839 839
840// TODO - Should convert control characters to reverse video, and deal with UTF8. 840// TODO - Should convert control characters to reverse video, and deal with UTF8.
841// 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.
841int formatLine(view *view, char *input, char **output) 842int formatLine(view *view, char *input, char **output)
842{ 843{
843 int len = strlen(input), i = 0, o = 0; 844 int len = strlen(input), i = 0, o = 0;