diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-08-28 11:57:29 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-08-28 16:46:44 +0000 |
commit | e2fb719501c41356f632e6f8838c91d888239037 (patch) | |
tree | 435b6586af9e2c007f9fd92efee51b56809a7411 /NEWS | |
parent | 4180d647fdfedca0e2ef64fe8e07cb358b11cbf9 (diff) | |
download | mana-e2fb719501c41356f632e6f8838c91d888239037.tar.gz mana-e2fb719501c41356f632e6f8838c91d888239037.tar.bz2 mana-e2fb719501c41356f632e6f8838c91d888239037.tar.xz mana-e2fb719501c41356f632e6f8838c91d888239037.zip |
Fixed handling of consecutive text formatting markers
If a text contained for example "##3##B", expected behavior was to
switch to blue color and bold font. Instead, due to there being no
actual text in between the markers, the layouting code was aborting
prematurely here:
if (mMode == AUTO_WRAP && partWidth == 0)
break;
As far as I could judge, this check is actually not necessary anyway,
but I've kept it for now since the wrapping code looks so problematic.
Instead, a while loop now makes sure we process all consecutive
formatting markers.
Closes #75
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -45,6 +45,7 @@ - Fixed being popup getting stuck under the mouse - Fixed item links with empty item name to look up name from Item DB - Fixed spaces getting added to chat every 50 characters +- Fixed handling of consecutive text formatting markers - Fixed empty Equipment window on freshly created character - Fixed choosing default world when using -D command-line parameter - Updated to tmwAthena protocol changes |