diff options
author | David Walter Seikel | 2012-09-06 16:45:49 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-09-06 16:45:49 +1000 |
commit | 2ecb53b36a92f6e1d5ab2bef01da9298f8b4c808 (patch) | |
tree | 7bbd393211e8e264499b309dd0dbdb70fd7a446a | |
parent | Add the actual source file. (diff) | |
download | boxes-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. | ||
841 | int formatLine(view *view, char *input, char **output) | 842 | int 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; |