summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2009-06-12 17:58:42 +0000
committerSimon Howard2009-06-12 17:58:42 +0000
commita3b1c4e95cf3d8196858f5c98a92565eedbc1e48 (patch)
tree75f178f006d3facfd25689f7a2900fcaf247334e
parent9fc871cdc51ddc335db803abae91eda42efdb2ed (diff)
downloadchocolate-doom-a3b1c4e95cf3d8196858f5c98a92565eedbc1e48.tar.gz
chocolate-doom-a3b1c4e95cf3d8196858f5c98a92565eedbc1e48.tar.bz2
chocolate-doom-a3b1c4e95cf3d8196858f5c98a92565eedbc1e48.zip
Remove debug messages.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1599
-rw-r--r--wince/env.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/wince/env.c b/wince/env.c
index b3400627..c90b4c8d 100644
--- a/wince/env.c
+++ b/wince/env.c
@@ -49,7 +49,6 @@ static int ReadOwnerName(wchar_t *value, DWORD len)
L"\\ControlPanel\\Owner", 0,
KEY_READ, &key) != ERROR_SUCCESS)
{
- MessageBoxW(NULL, L"Can't open owner", L"Error", MB_OK);
return 0;
}
@@ -58,12 +57,9 @@ static int ReadOwnerName(wchar_t *value, DWORD len)
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
RegCloseKey(key);