#2607: Fix unicode path usage in windows exception handler
-------------------------------------------------+-------------------------
Reporter: Safety0ff | Owner:
Type: patch (an actual patch, not a | Status: new
request for one) | Milestone:
Priority: blocker | unspecified
Component: other | Version:
Keywords: | git/master
Blocked By: | Operating System:
| Windows XP
| Blocking:
-------------------------------------------------+-------------------------
Fix potential usage of utf8 encoded string as local-8bit encoded string by
simply using utf16 within the exception handler for paths.
Said shenanigans in OverrideRPTDirectory are:[[BR]]
* Checking whether the path is convertible while comments indicate actual
conversion.
* Casting from char* to wchar_t* (fortunately this would never have caused
an issue in practice)
--
Ticket URL: <http://developer.wz2100.net/ticket/2607>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev