summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-05-06 19:19:58 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-05-07 06:48:37 +0200
commitbb6062d49c095e9efadefe439af5e19ef027f8f1 (patch)
tree0a6b58b98a6a1d7c72436f05dda3711ca94ec70d /src
parent9e656b924b16b88dbd4997538a5dce885505980f (diff)
downloadcmumble-bb6062d49c095e9efadefe439af5e19ef027f8f1.tar.gz
cmumble-bb6062d49c095e9efadefe439af5e19ef027f8f1.tar.bz2
cmumble-bb6062d49c095e9efadefe439af5e19ef027f8f1.zip
io.c: Make use of readline's RL_ISSTATE macro
Diffstat (limited to 'src')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index e36bc30..874841a 100644
--- a/src/io.c
+++ b/src/io.c
@@ -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) {