mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 15:49:03 +00:00
Regedit: Fixed stupid compilation errors
svn path=/trunk/; revision=18257
This commit is contained in:
parent
2639ea0346
commit
c80b556537
|
@ -365,7 +365,7 @@ static BOOL ExportRegistryFile(HWND hWnd)
|
||||||
ofn.lpTemplateName = MAKEINTRESOURCE(IDD_EXPORTRANGE);
|
ofn.lpTemplateName = MAKEINTRESOURCE(IDD_EXPORTRANGE);
|
||||||
if (GetSaveFileName(&ofn)) {
|
if (GetSaveFileName(&ofn)) {
|
||||||
BOOL result;
|
BOOL result;
|
||||||
LPCSTR pszExportKeyPath;
|
LPSTR pszExportKeyPath;
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
CHAR buffer[_MAX_PATH];
|
CHAR buffer[_MAX_PATH];
|
||||||
|
|
||||||
|
|
|
@ -1290,7 +1290,7 @@ static FILE *REGPROC_open_export_file(const TCHAR *file_name)
|
||||||
FILE *file = _tfopen(file_name, _T("w"));
|
FILE *file = _tfopen(file_name, _T("w"));
|
||||||
if (!file) {
|
if (!file) {
|
||||||
perror("");
|
perror("");
|
||||||
fprintf(stderr,"%s: Can't open file \"%s\"\n", getAppName(), file_name);
|
/* fprintf(stderr,"%s: Can't open file \"%s\"\n", getAppName(), file_name);*/
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
fputs("REGEDIT4\n", file);
|
fputs("REGEDIT4\n", file);
|
||||||
|
|
Loading…
Reference in a new issue