Use tparm instead of tiparm

This commit is contained in:
Maxime Coste 2015-06-30 13:35:51 +01:00
parent eb4ac85fb1
commit 670d8f7d1e

View File

@ -445,8 +445,8 @@ void NCursesUI::check_resize(bool force)
m_dimensions = CharCoord{ws.ws_row-1, ws.ws_col}; m_dimensions = CharCoord{ws.ws_row-1, ws.ws_col};
if (const char* csr = tigetstr((char*)"csr")) if (char* csr = tigetstr((char*)"csr"))
putp(tiparm(csr, 0, ws.ws_row)); putp(tparm(csr, (long)0, (long)ws.ws_row));
} }
else else
kak_assert(false); kak_assert(false);