Regedit:  Fixed stupid compilation errors
Modified: trunk/reactos/subsys/system/regedit/framewnd.c
Modified: trunk/reactos/subsys/system/regedit/regproc.c

Modified: trunk/reactos/subsys/system/regedit/framewnd.c
--- trunk/reactos/subsys/system/regedit/framewnd.c	2005-10-04 02:40:01 UTC (rev 18256)
+++ trunk/reactos/subsys/system/regedit/framewnd.c	2005-10-04 02:46:14 UTC (rev 18257)
@@ -365,7 +365,7 @@
     ofn.lpTemplateName = MAKEINTRESOURCE(IDD_EXPORTRANGE);
     if (GetSaveFileName(&ofn)) {
         BOOL result;
-        LPCSTR pszExportKeyPath;
+        LPSTR pszExportKeyPath;
 #ifdef UNICODE
         CHAR buffer[_MAX_PATH];
 

Modified: trunk/reactos/subsys/system/regedit/regproc.c
--- trunk/reactos/subsys/system/regedit/regproc.c	2005-10-04 02:40:01 UTC (rev 18256)
+++ trunk/reactos/subsys/system/regedit/regproc.c	2005-10-04 02:46:14 UTC (rev 18257)
@@ -1290,7 +1290,7 @@
     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);