diff options
| author | Tannin <devnull@localhost> | 2014-05-15 19:11:19 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-05-15 19:11:19 +0200 |
| commit | 48c8cca578c415152e64b3c3a6e1523dbc76b4d8 (patch) | |
| tree | bcb2e571f7b870141b2d80989489381dbba5c8e3 /src | |
| parent | 977b4075254ca79e68bbdec2e689eccb291fe701 (diff) | |
- NCC will now report an error if a script tries to extract a non-existent file instead of creating an empty output file
- ncc installer plugin now uses a more reliable method to force the installer window to the foreground
- missing version on TESV.exe will no longer be reported as an error
- bugfix: loot client didn't read list of active mods
- bugfix: invalid free call in error reporting function
Diffstat (limited to 'src')
| -rw-r--r-- | src/shared/error_report.cpp | 4 | ||||
| -rw-r--r-- | src/shared/skyriminfo.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/shared/error_report.cpp b/src/shared/error_report.cpp index c1b25229..02ff2d56 100644 --- a/src/shared/error_report.cpp +++ b/src/shared/error_report.cpp @@ -36,7 +36,6 @@ void reportError(LPCSTR format, ...) va_end(argList);
MessageBoxA(NULL, buffer, "Error", MB_OK | MB_ICONERROR);
- LocalFree(buffer);
}
void reportError(LPCWSTR format, ...)
@@ -52,7 +51,6 @@ void reportError(LPCWSTR format, ...) va_end(argList);
MessageBoxW(NULL, buffer, L"Error", MB_OK | MB_ICONERROR);
- LocalFree(buffer);
}
@@ -99,4 +97,4 @@ std::wstring getCurrentErrorStringW() return result;
}
}
-} // namespace MOShared +} // namespace MOShared
diff --git a/src/shared/skyriminfo.cpp b/src/shared/skyriminfo.cpp index 1620bcc3..bf7500e6 100644 --- a/src/shared/skyriminfo.cpp +++ b/src/shared/skyriminfo.cpp @@ -106,7 +106,7 @@ GameInfo::LoadOrderMechanism SkyrimInfo::getLoadOrderMechanism() const return TYPE_FILETIME;
}
} catch (const std::exception &e) {
- reportError("TESV.exe is invalid: %s", e.what());
+ log("TESV.exe is invalid: %s", e.what());
return TYPE_FILETIME;
}
}
|
