mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-26 22:09:43 +03:00
Init clipboard to NULL, just in case front end implementation of gui_get_clipboard fails to set it on empty clipboard.
This commit is contained in:
parent
c39a3d7263
commit
19f09dcc61
@ -1821,7 +1821,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
|
||||
break;
|
||||
case KEY_PASTE:
|
||||
{
|
||||
char *clipboard;
|
||||
char *clipboard = NULL;
|
||||
size_t clipboard_length;
|
||||
size_t clipboard_chars;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user