From 561d041cea7424f382a9d15a10e372e0ea1e2b83 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Mon, 21 Sep 2026 22:41:06 +0000 Subject: [PATCH] Match focus object parsed text --- src/scene/board/iplFocusObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scene/board/iplFocusObject.cpp b/src/scene/board/iplFocusObject.cpp index 82d2d8cf..e179f587 100644 --- a/src/scene/board/iplFocusObject.cpp +++ b/src/scene/board/iplFocusObject.cpp @@ -1147,7 +1147,6 @@ namespace ipl { mpParsedText = new (System::getMem2App(), 4) wchar_t[PARSED_TEXT_LENGTH]; memset(mpParsedText, 0, PARSED_TEXT_LENGTH * sizeof(wchar_t)); - const wchar_t* pURLStr; const wchar_t* pStr = inText; const wchar_t URLSep[2] = {UrlProcessor::SEPERATOR, 0x00}; @@ -1163,7 +1162,8 @@ namespace ipl { while (i != strLen) { // If we found a URL - if (inText[i] == L'h' && (pURLStr = &inText[i], is_url_protocol(pURLStr))) { + if (inText[i] == L'h' && is_url_protocol(&inText[i])) { + const wchar_t* pURLStr = &inText[i]; // Parse the URL unk_0x114[5] = 0; -- 2.49.1