Fixed a latent bug in uiFreeInitError() on Windows.
This commit is contained in:
parent
0b5d4021f2
commit
084ed53e63
|
@ -156,7 +156,7 @@ void uiUninit(void)
|
|||
void uiFreeInitError(const char *err)
|
||||
{
|
||||
if (*(err - 1) == '-')
|
||||
uiFree((void *) err);
|
||||
uiFree((void *) (err - 1));
|
||||
}
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
|
|
Loading…
Reference in New Issue