diff options
author | David Walter Seikel | 2014-02-01 20:21:17 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-02-01 20:21:17 +1000 |
commit | e4b9d3eab7a77c4591abc89ddd89070e61e57d75 (patch) | |
tree | 4e04e0f339bf89307c1d4fac09834cffc84aae3d | |
parent | Fixed dumbsh end of screen handling. (diff) | |
download | boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.zip boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.tar.gz boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.tar.bz2 boxes-e4b9d3eab7a77c4591abc89ddd89070e61e57d75.tar.xz |
Fix dumb off by one error in dumbsh.
-rw-r--r-- | dumbsh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ static void doCommand() | |||
117 | 117 | ||
118 | static void endOfLine() | 118 | static void endOfLine() |
119 | { | 119 | { |
120 | TT.x = strlen(toybuf) - 1; | 120 | TT.x = strlen(toybuf); |
121 | updateLine(); | 121 | updateLine(); |
122 | } | 122 | } |
123 | 123 | ||