From d9d62d5dfb6a45b39e30ddc7a0f27543388079ef Mon Sep 17 00:00:00 2001 From: polluks Date: Fri, 24 May 2024 10:20:55 +0200 Subject: [PATCH] Fixed typos --- src/tek4010.c | 8 ++++---- src/tube.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/tek4010.c b/src/tek4010.c index d22ae4c..460c58c 100755 --- a/src/tek4010.c +++ b/src/tek4010.c @@ -193,7 +193,7 @@ void tek4010_clicked(int x, int y) } void tek4010_escapeCodeHandler(cairo_t *cr, cairo_t *cr2, int ch) -// handle escape sequencies, see 4014 user manual, table page G-1 +// handle escape sequences, see 4014 user manual, table page G-1 // codes identical for all modes are handled elsewhere { if (DEBUG) printf("Escape %02X, savemode=%d\n",ch,savemode); @@ -500,7 +500,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first) if ((mode == 3) && (tag == 3)) { // this overwrites the extra data byte of the 4014 for the - // persistent mode ccordinates and stores it for further use + // persistent mode coordinates and stores it for further use mode = 2; xy4014 = yl; if (DEBUG) @@ -514,7 +514,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first) if ((mode == 7) && (tag == 3)) { // this overwrites the extra data byte of the 4014 for the - // persistent mode ccordinates and stores it for further use + // persistent mode coordinates and stores it for further use mode = 6; xy4014 = yl; if (DEBUG) @@ -666,7 +666,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first) if (ch == 29) mode = 1; break; case 0: // handle ALPHA mode; 4014 user manual, table page G-1 - // some characters are indentical for all modes and handled elsewhere + // some characters are identical for all modes and handled elsewhere switch (ch) { case 0: break; case 8: // backspace diff --git a/src/tube.c b/src/tube.c index 58fe2f7..875c3ed 100755 --- a/src/tube.c +++ b/src/tube.c @@ -505,7 +505,7 @@ int tube_on_timer_event() // is called every TIMER-INTERVAL milliseconds // if the function returns 1, the window is redrawn by calling applicatin_draw { - // if there is a char available on the imput stream + // if there is a char available on the input stream // or there is still a bright spot, return 1 to ask for // one more redraw @@ -554,7 +554,7 @@ int tube_clicked(int button, int x, int y) } void tube_quit() -// is called if the main window is quit bevore the tek4010 exits +// is called if the main window is quit before the tek4010 exits // put any code here which needs to be called on exit { pclose(getData); @@ -572,7 +572,7 @@ void tube_doCursor(cairo_t *cr2) } void tube_clearPersistent(cairo_t *cr, cairo_t *cr2) -// clear the persistant surface +// clear the persistent surface // flash using the second surface { cairo_set_source_rgb(cr, 0.0, BLACK_INTENSITY, 0.0);