PDA

View Full Version : What's with the Old Strings Fix?



Asuna Yuuki Nagato
01-23-2024, 12:38 PM
Upon doing File->New, the Tools->Fix Tools->Old Strings Fix is greyed out. There is no ? button next to it.

What must I do to enable it?

Asuna Yuuki Nagato
01-27-2024, 07:22 PM
I found onStrFix() in zquest.cpp, which has these clues:


Fix: Old Margins
Fixing margins may cause strings that used to spill outside the textbox to instead be cut off. Are you sure?

Fix: Old Frame Size
This will fix the frame size of all strings. No visual changes should occur as the string width/height will be fixed, but the compat QR will also be unchecked.

Asuna Yuuki Nagato
03-18-2024, 12:12 AM
That menu option is disabled by:



fixtools_menu.disable_uid(MENUID_FIXTOOL_OLDSTRING ,
!(get_qr(qr_OLD_STRING_EDITOR_MARGINS)
||get_qr(qr_STRING_FRAME_OLD_WIDTH_HEIGHT)));


in zquest.cpp