Debugger: Fixed memory tools crash when using multi-byte replace rules in TBL files

This commit is contained in:
Sour 2018-12-03 01:50:29 -05:00
parent 37904b8679
commit c901226f8c

View file

@ -2728,7 +2728,7 @@ namespace Be.Windows.Forms
stringToDisplay += s;
if(s.Length > 1 || s.Length > 0 && s[0] > 127 || s[0] < 32) {
if(s.Length > 1 || (s.Length > 0 && (s[0] > 127 || s[0] < 32))) {
//Force draw if we hit a non-ascii character (to avoid minor positioning issues)
forceDraw = true;
}