diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-03 20:38:16 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-03 20:38:16 -0800 |
commit | 5ae77b43175d3ab588253c5872ce213aa6a6182d (patch) | |
tree | c23c9f6b1bf05727d2b2dc1b19ce163b41271da4 /input.cpp | |
parent | a0bb2cdc6e697c58ec3ebcd455b56347228092e5 (diff) |
For for crash when typing backslash c
Diffstat (limited to 'input.cpp')
-rw-r--r-- | input.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -429,8 +429,7 @@ static wint_t input_try_mapping( const input_mapping_t &m) input_unreadch( c ); const wchar_t *str = m.seq.c_str(); - for( j=0; str[j] != L'\0' && - str[j] == (c=input_common_readch( j>0 )); j++ ) + for( j=0; str[j] != L'\0' && str[j] == (c=input_common_readch( j>0 )); j++ ) ; if( str[j] == L'\0' ) |