diff options
Diffstat (limited to 'src/wreadln.c')
-rw-r--r-- | src/wreadln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wreadln.c b/src/wreadln.c index dc1dfe867..cc703898b 100644 --- a/src/wreadln.c +++ b/src/wreadln.c @@ -334,7 +334,7 @@ _wreadln(WINDOW *w, if (key >= 32) { if (strlen (line + cursor)) { /* if the cursor is */ /* not at the last pos */ - gchar *tmp = 0; + gchar *tmp = NULL; gsize size = strlen(line + cursor) + 1; tmp = g_malloc0(size); |