(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it

This commit is contained in:
rubidium
2013-06-24 18:39:19 +00:00
parent 8197a3ea2a
commit 7c0f34130c
11 changed files with 46 additions and 191 deletions

View File

@@ -248,16 +248,6 @@ void str_validate(char *str, const char *last, StringValidationSettings settings
/* Replace the undesirable character with a question mark */
str += len;
if ((settings & SVS_REPLACE_WITH_QUESTION_MARK) != 0) *dst++ = '?';
/* In case of these two special cases assume that they really
* mean SETX/SETXY and also "eat" the parameter. If this was
* not the case the string was broken to begin with and this
* would not break much more. */
if (c == SCC_SETX) {
str++;
} else if (c == SCC_SETXY) {
str += 2;
}
}
}