]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[fs_cli] Fix typo, resolves garbled screen 44/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 9 Oct 2019 17:05:37 +0000 (19:05 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 12 Oct 2019 19:46:09 +0000 (21:46 +0200)
Related to FS-11309.

Commit bc3e1c9e7de1855eec454bba467fd2586e5e251b introduced a typo that
results in EL_REFRESH never being used, even if available. This can
cause the screen to garble.

This fixes the typo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/esl/fs_cli.c

index 99db32764baf3ce2a02a236bb8a0628786fcf8f6..fd6153e091165856ebf984b49589852aba78ce0c 100644 (file)
@@ -674,7 +674,7 @@ static void redisplay(void)
        esl_mutex_lock(MUTEX);
        {
 #ifdef HAVE_LIBEDIT
-#ifdef XHAVE_DECL_EL_REFRESH
+#ifdef HAVE_DECL_EL_REFRESH
 #ifdef HAVE_EL_WSET
                /* Current libedit versions don't implement EL_REFRESH in eln.c so
                 * use the wide version instead. */