mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 02:43:26 +00:00
Fix an error spotted by Hajo:
The GRAY_TEXT special character "|" was not seen as such by one function This probably fix off-by-one error when word-wrapping text and maybe make the character invisible on displayed text
This commit is contained in:
parent
4cf1ca317c
commit
ac471c8213
@ -202,7 +202,7 @@ bool is_format_char(char c)
|
||||
case BAD_TEXT:
|
||||
case NORMAL_TEXT:
|
||||
case BLACK_TEXT:
|
||||
// ?? GRAY_TEXT
|
||||
case GRAY_TEXT:
|
||||
case BOLD_TEXT:
|
||||
case NULL_MARKUP:
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user