aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r--src/lua/lua_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index 0e61d6e84..9ed095c34 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -2458,7 +2458,7 @@ static gint
lua_util_readline (lua_State *L)
{
LUA_TRACE_POINT;
- const gchar *prompt = NULL;
+ const gchar *prompt = "";
gchar *input;
if (lua_type (L, 1) == LUA_TSTRING) {