diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 19:13:13 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 19:13:57 +0100 |
commit | e2406c5ef7ba0101ad1e7dc1e4bde70cd90f79e7 (patch) | |
tree | ba0fd0b92b9740369d474fb11382b3e315127ca2 /cRender.cpp | |
parent | 1b76fb5a73bc610445b9fbda8c686fcbb6180cd0 (diff) | |
download | termgl-e2406c5ef7ba0101ad1e7dc1e4bde70cd90f79e7.tar.gz |
cRender cleanup
Diffstat (limited to 'cRender.cpp')
-rw-r--r-- | cRender.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cRender.cpp b/cRender.cpp index d4f4185..5354f1d 100644 --- a/cRender.cpp +++ b/cRender.cpp @@ -172,8 +172,6 @@ int cRender::render(void) } - gotoxy(sizeX - 1, sizeY - 1); - return 0; } @@ -267,7 +265,7 @@ sPos cRender::getConsoleWindowSize() struct winsize w; ioctl(STDOUT_FILENO, TIOCGWINSZ, &w); - return {w.ws_col, w.ws_row - 1}; + return {w.ws_col, w.ws_row}; } #endif |