Alfred, Using your suggestions, I incrementally revised the code block within the "get_mui" function utilizing the wide character functions to determine the last backslash location, truncating and concatenating the language locale, and adding testing for upper and lower case existence of ".exe". Along with that, I worked at reducing the global variable count and utilized a better method of retrieving the language locale in effect for the Wine prefix. Like you, I do like to minimize the usage of global variables; however, retaining the two variables and prudent usage of them did minimize the calling of new functions, and thus minimizing possible knock-on effects. The resulting enhancement code became more compact, and I was able to eliminate all of the "for" loops I had used to construct the language resource path. If you look at pipeline 10575, you will see again that all builds and tests were successful. Again, I was unsure who to request as a reviewer, so if you know of someone, including yourself, feel free to review the updated code. Thanks again for your input. Regards, Craig -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10365#note_135292