From: Chris Allegretta Date: Wed, 28 May 2014 01:35:51 +0000 (+0000) Subject: 2014-05-27 Chris Allegretta X-Git-Tag: v2.3.3~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=cfa297622b1205d9a20649397f5881cbe51ea231;p=nano.git 2014-05-27 Chris Allegretta * src/winio.c (edit_refresh): wredrawln() is not supported under slang. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4918 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index abd67d1a..808009bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-05-27 Chris Allegretta + * src/winio.c (edit_refresh): wredrawln() is not supported under + slang. + 2014-05-27 Benno Schulenberg * src/global.c (shortcut_init): Improve the arrangement of help items under certain compilation conditions. diff --git a/src/winio.c b/src/winio.c index 0ed340a5..0357b934 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2498,7 +2498,9 @@ void edit_draw(filestruct *fileptr, const char *converted, int /* Tell ncurses to really redraw the line without trying to optimize for what it thinks is already there, because it gets it wrong in the case of a wide character in column zero. See bug #31743. */ +#ifndef USE_SLANG wredrawln(edit, line, 1); +#endif #ifndef DISABLE_COLOR /* If color syntaxes are available and turned on, we need to display