Regedit: Fixed stupid compilation errors

svn path=/trunk/; revision=18257
This commit is contained in:
Nathan Woods 2005-10-04 02:46:14 +00:00
parent 2639ea0346
commit c80b556537
2 changed files with 2 additions and 2 deletions

View file

@ -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];

View file

@ -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);