1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-06 04:45:17 -04:00

[python] static char[]

This commit is contained in:
Witold Filipczyk 2022-01-30 19:23:07 +01:00
parent cba95b2b30
commit 0dd77a5d33

View File

@ -82,7 +82,8 @@ python_bind_key(PyObject *self, PyObject *args, PyObject *kwargs)
{
const char *keystroke;
PyObject *callback;
char *keymap = "main";
static char s_main[] = "main";
char *keymap = s_main;
PyObject *key_tuple;
PyObject *old_callback;
struct string event_name;