From a8b0321908a0d8cbf15f1ae1ef45892463b88350 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 23 Sep 2012 16:14:56 -0400 Subject: Do not write ncurses initialization errors over titlebar; src/textadept.c --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index 7ac19517..0a04894b 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1362,7 +1362,7 @@ static int lL_dofile(lua_State *L, const char *filename) { lua_tostring(L, -1)); gtk_dialog_run(GTK_DIALOG(dialog)), gtk_widget_destroy(dialog); #elif NCURSES - WINDOW *win = newwin(0, 0, 0, 0); + WINDOW *win = newwin(0, 0, 1, 0); wprintw(win, lua_tostring(L, -1)), wrefresh(win); getch(), delwin(win); #endif @@ -1434,7 +1434,7 @@ static int lstring_iconv(lua_State *L) { free(out); iconv_close(cd); } - if (!converted) luaL_error(L, "Conversion failed"); + if (!converted) luaL_error(L, "conversion failed"); return 1; } -- cgit v1.2.3