From 36734cc499c370673c24db393553d92f1b4877aa Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 14:50:26 +0000 Subject: [PATCH] Decompile fn_10491 (CCreateLineInfo::ParseItemImage) Batch #17135 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_10491 CCreateLineInfo::ParseItemImage: logic confirmed by peer review Peer-reviewed-by: kyoshi, cremane, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Navigation/NavigationLink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Navigation/NavigationLink.cpp b/Source/UI/Navigation/NavigationLink.cpp index 2c5e80ba2..102fcee0c 100644 --- a/Source/UI/Navigation/NavigationLink.cpp +++ b/Source/UI/Navigation/NavigationLink.cpp @@ -1424,7 +1424,7 @@ int CCreateLineInfo::ParseItemImage(int index) { this->AddSegment(LINE_SEGMENT_ITEM_IMAGE); this->AppendText(match[0].str()); this->m_newSegment = true; - index += static_cast(match[0].length()); + return index + static_cast(match[0].length()); } return index;