shithub: choc

Download patch

ref: a3b1c4e95cf3d8196858f5c98a92565eedbc1e48
parent: 9fc871cdc51ddc335db803abae91eda42efdb2ed
author: Simon Howard <fraggle@gmail.com>
date: Fri Jun 12 13:58:42 EDT 2009

Remove debug messages.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1599

--- a/wince/env.c
+++ b/wince/env.c
@@ -49,7 +49,6 @@
                       L"\\ControlPanel\\Owner", 0,
                       KEY_READ, &key) != ERROR_SUCCESS)
     {
-        MessageBoxW(NULL, L"Can't open owner", L"Error", MB_OK);
         return 0;
     }
 
@@ -58,11 +57,8 @@
     if (RegQueryValueExW(key, L"Name", NULL, &valtype,
                          (LPBYTE) value, &len) != ERROR_SUCCESS)
     {
-        MessageBoxW(NULL, L"Can't read owner", L"Error", MB_OK);
         return 0;
     }
-
-    MessageBoxW(NULL, value, L"Error", MB_OK);
 
     // Close the key