mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 02:17:03 +00:00
Fix crash under ASAN
This commit is contained in:
parent
ee4310b189
commit
2e8d57c1b0
1 changed files with 1 additions and 1 deletions
|
|
@ -5761,7 +5761,7 @@ static PyObject*
|
|||
pause_rendering(Screen *self, PyObject *args) {
|
||||
int msec = 100;
|
||||
int pause = 1;
|
||||
if (!PyArg_ParseTuple(args, "|pi", &msec)) return NULL;
|
||||
if (!PyArg_ParseTuple(args, "|pi", &pause, &msec)) return NULL;
|
||||
if (screen_pause_rendering(self, pause, msec)) Py_RETURN_TRUE;
|
||||
Py_RETURN_FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue