Skip to content

Display names longer than max name length defined in iff marker#1823

Merged
AdamTadeusz merged 3 commits intoNeotokyoRebuild:masterfrom
AdamTadeusz:335_namesShorterThanMaxLengthDefinedInIFFMarkerDisplayCorrectlyOnWindows
Mar 12, 2026
Merged

Display names longer than max name length defined in iff marker#1823
AdamTadeusz merged 3 commits intoNeotokyoRebuild:masterfrom
AdamTadeusz:335_namesShorterThanMaxLengthDefinedInIFFMarkerDisplayCorrectlyOnWindows

Conversation

@AdamTadeusz
Copy link
Contributor

Description

On windows ConvertANSIToUnicode returns a 0 for the length of the wchar_t produced if the string passed in is longer than the max length passed in.

Toolchain

  • Windows MSVC VS2022

@AdamTadeusz AdamTadeusz added the Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament label Mar 11, 2026
@AdamTadeusz AdamTadeusz requested a review from a team March 11, 2026 11:06
@DESTROYGIRL DESTROYGIRL added the UI/HUD Relates to the HUD, NeoUI, menus, etc label Mar 12, 2026
@Agiel Agiel requested a review from a team March 12, 2026 14:13
@AdamTadeusz AdamTadeusz merged commit 819135f into NeotokyoRebuild:master Mar 12, 2026
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 335_namesShorterThanMaxLengthDefinedInIFFMarkerDisplayCorrectlyOnWindows branch March 12, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament UI/HUD Relates to the HUD, NeoUI, menus, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants