mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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;
|
const char *keystroke;
|
||||||
PyObject *callback;
|
PyObject *callback;
|
||||||
char *keymap = "main";
|
static char s_main[] = "main";
|
||||||
|
char *keymap = s_main;
|
||||||
PyObject *key_tuple;
|
PyObject *key_tuple;
|
||||||
PyObject *old_callback;
|
PyObject *old_callback;
|
||||||
struct string event_name;
|
struct string event_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user