Only set EL_PROMPT_ESC when existing - fix typo

llvm-svn: 201024
This commit is contained in:
Sylvestre Ledru 2014-02-08 13:26:24 +00:00
parent 54e7a77690
commit bfc57f8370
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ Editline::Editline (const char *prog, // prog can't be NULL
assert (m_editline);
::el_set (m_editline, EL_CLIENTDATA, this);
#idef EL_PROMPT_ESC
#ifdef EL_PROMPT_ESC
::el_set (m_editline, EL_PROMPT_ESC, GetPromptCallback, k_prompt_escape_char);
#endif
::el_set (m_editline, EL_EDITOR, "emacs");