summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/textarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index f8462c0b2..bb0ed310c 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -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;