(U+37E2): Unify JC3-4AFE.
[chise/xemacs-chise.git-] / netinstall / geturl.cc
index f199c7e..864319f 100644 (file)
@@ -72,10 +72,10 @@ static DWORD WINAPI
 dialog (void *)
 {
   MSG m;
-  HWND lgw_dialog = CreateDialog (hinstance, MAKEINTRESOURCE (IDD_DLSTATUS),
+  HWND gw_dialog = CreateDialog (hinstance, MAKEINTRESOURCE (IDD_DLSTATUS),
                                   0, dialog_proc);
-  ShowWindow (lgw_dialog, SW_SHOWNORMAL);
-  UpdateWindow (lgw_dialog);
+  ShowWindow (gw_dialog, SW_SHOWNORMAL);
+  UpdateWindow (gw_dialog);
   while (GetMessage (&m, 0, 0, 0) > 0) {
     TranslateMessage (&m);
     DispatchMessage (&m);
@@ -197,10 +197,6 @@ get_url_to_string (char *_url)
       bufs = tmp;
     }
   *rvp = 0;
-
-  if (n)
-    delete n;
-
   return rv;
 }
 
@@ -248,9 +244,6 @@ get_url_to_file (char *_url, char *_filename, int expected_length)
 
   fclose (f);
 
-  if (n)
-    delete n;
-
   return 0;
 }