diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
commit | 2ab2d77fcba42467b62f2be732cb8dc00510fe19 (patch) | |
tree | 8dbd616faa116a2946ad47c62c20d4a34fb749b2 /src/gwin/gwin_console.c | |
parent | 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (diff) | |
download | uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.gz uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.bz2 uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.zip |
Change coord_t to gCoord
Diffstat (limited to 'src/gwin/gwin_console.c')
-rw-r--r-- | src/gwin/gwin_console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gwin/gwin_console.c b/src/gwin/gwin_console.c index 7bd0780e..d2b55f5d 100644 --- a/src/gwin/gwin_console.c +++ b/src/gwin/gwin_console.c @@ -193,7 +193,7 @@ static void HistoryRedraw(GWindowObject *gh) { #define gcw ((GConsoleObject *)gh) - coord_t fy; + gCoord fy; // No redrawing if there is no history if (!gcw->buffer) @@ -229,7 +229,7 @@ #if GWIN_CONSOLE_USE_CLEAR_LINES // Clear the remaining space { - coord_t y; + gCoord y; y = gcw->cy; if (gcw->cx) @@ -563,7 +563,7 @@ void gwinPutChar(GHandle gh, char c) { // Set the cursor to the start of the last line gcw->cx = 0; - gcw->cy = (((coord_t)(gh->height/fy))-1)*fy; + gcw->cy = (((gCoord)(gh->height/fy))-1)*fy; } #else { |