summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-20 22:25:34 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-20 22:25:34 -0400
commitb300a2e43087400eaaf112de7e7cbf3d248a0dc5 (patch)
tree6b966b8b63f35239a3babce43baa708a779319ae
parent6700ca1fb0d83dcd40c9c63d45b83b4cb305fc18 (diff)
downloadlibvt100-b300a2e43087400eaaf112de7e7cbf3d248a0dc5.tar.gz
libvt100-b300a2e43087400eaaf112de7e7cbf3d248a0dc5.zip
comment typo fix
-rw-r--r--src/parser.c2
-rw-r--r--src/parser.l2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 94406ea..1ea486f 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -2584,7 +2584,7 @@ static void vt100_parser_handle_cup(VT100Screen *vt, char *buf, size_t len)
if (params[1] == 0) {
params[1] = 1;
}
- /* this needs to be fixed up here (and not in screen.c) because CUP hsould
+ /* this needs to be fixed up here (and not in screen.c) because CUP should
* never cause scrolling */
if (params[0] > vt->grid->max.row) {
params[0] = vt->grid->max.row;
diff --git a/src/parser.l b/src/parser.l
index 010411e..c9f9545 100644
--- a/src/parser.l
+++ b/src/parser.l
@@ -423,7 +423,7 @@ static void vt100_parser_handle_cup(VT100Screen *vt, char *buf, size_t len)
if (params[1] == 0) {
params[1] = 1;
}
- /* this needs to be fixed up here (and not in screen.c) because CUP hsould
+ /* this needs to be fixed up here (and not in screen.c) because CUP should
* never cause scrolling */
if (params[0] > vt->grid->max.row) {
params[0] = vt->grid->max.row;