From e2fb719501c41356f632e6f8838c91d888239037 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 28 Aug 2024 11:57:29 +0200 Subject: 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 --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3adad045..b023cff2 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3-70-g09d2