mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 22:55:05 +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);
|
||||
if (GetSaveFileName(&ofn)) {
|
||||
BOOL result;
|
||||
LPCSTR pszExportKeyPath;
|
||||
LPSTR pszExportKeyPath;
|
||||
#ifdef UNICODE
|
||||
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"));
|
||||
if (!file) {
|
||||
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);
|
||||
}
|
||||
fputs("REGEDIT4\n", file);
|
||||
|
|
Loading…
Reference in a new issue