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:
parent
cba95b2b30
commit
0dd77a5d33
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user