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

View file

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