diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-05-06 19:19:58 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-05-07 06:48:37 +0200 |
commit | bb6062d49c095e9efadefe439af5e19ef027f8f1 (patch) | |
tree | 0a6b58b98a6a1d7c72436f05dda3711ca94ec70d | |
parent | 9e656b924b16b88dbd4997538a5dce885505980f (diff) | |
download | cmumble-bb6062d49c095e9efadefe439af5e19ef027f8f1.tar.gz cmumble-bb6062d49c095e9efadefe439af5e19ef027f8f1.tar.bz2 cmumble-bb6062d49c095e9efadefe439af5e19ef027f8f1.zip |
io.c: Make use of readline's RL_ISSTATE macro
-rw-r--r-- | src/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ print_preserve_prompt(const gchar *string) char *line; /* FIXME */ - gboolean preserve = (rl_readline_state & RL_STATE_TERMPREPPED); + gboolean preserve = RL_ISSTATE(RL_STATE_TERMPREPPED); //preserve = 1; if (preserve) { |