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:
Michael Drake 2013-02-12 11:15:37 +00:00
parent c39a3d7263
commit 19f09dcc61

View File

@ -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;