Fix some movement/rendering bugs

This commit is contained in:
Michael Stapelberg
2009-02-23 01:41:26 +01:00
parent 4ba6ddb41c
commit fe0485f9e5
5 changed files with 44 additions and 22 deletions

View File

@ -85,6 +85,6 @@ void expand_table_cols(Workspace *workspace) {
*
*/
bool cell_exists(int col, int row) {
return (col >= 0 && col < c_ws->rows) &&
(row >= 0 && row < c_ws->cols);
return (col >= 0 && col < c_ws->cols) &&
(row >= 0 && row < c_ws->rows);
}