Mercurial > hg
changeset 2321:a62bbd4d7061
Fix exiting from verbatim multiline mode
author | Michał Kępień <bitbucket@kempniu.pl> |
---|---|
date | Fri, 09 Feb 2018 09:34:47 +0100 |
parents | dff24f3d007f |
children | 58730d1004a4 |
files | mcabber/mcabber/commands.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/mcabber/commands.c Sun Jun 25 22:50:43 2017 +0200 +++ b/mcabber/mcabber/commands.c Fri Feb 09 09:34:47 2018 +0100 @@ -550,12 +550,12 @@ return; } - if (*line == COMMAND_CHAR && scr_get_multimode() != 2) { + if (*line == COMMAND_CHAR) { if (*(line+1) != COMMAND_CHAR) { /* It is a command */ process_command(line, FALSE); return; - } else { + } else if (scr_get_multimode() != 2) { /* Skip the first COMMAND_CHAR */ line++; }