[zoom] fix crash fix.
Sorry to anyone who lost character selection this morning...
This commit is contained in:
parent
459cf7383d
commit
fbf61bf815
|
@ -787,7 +787,7 @@ termpty_row_length(Termpty *ty, int y)
|
|||
ssize_t wret;
|
||||
Termcell *cells = termpty_cellrow_get(ty, y, &wret);
|
||||
|
||||
if (cells)
|
||||
if (!cells)
|
||||
return 0;
|
||||
if (y >= 0)
|
||||
return termpty_line_length(cells, ty->w);
|
||||
|
|
Loading…
Reference in New Issue