Don't fall off commandline processing routine
Fixes crash when key is typed in command mode in Mac OS X.
This commit is contained in:
parent
a0680f8778
commit
5bcad5e037
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ std::string commandline_model::key(uint32_t k) throw(std::bad_alloc)
|
|||
codepoints[i] = codepoints[i - 1];
|
||||
}
|
||||
codepoints[cursor_pos++] = k & ~PRESSED_MASK;
|
||||
return "";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue