Display an ERR on errors while initializing USER.

diff --git a/windows/dialog.c b/windows/dialog.c
index dd8545b..0b9b3c7 100644
--- a/windows/dialog.c
+++ b/windows/dialog.c
@@ -207,8 +207,19 @@
 
       /* Calculate the dialog base units */
 
-    if (!(hdc = CreateDCA( "DISPLAY", NULL, NULL, NULL ))) return FALSE;
-    if (!DIALOG_GetCharSizeFromDC( hdc, 0, &size )) return FALSE;
+    if (!(hdc = CreateDCA( "DISPLAY", NULL, NULL, NULL )))
+    {
+	ERR("Could not create Display DC\n");
+	return FALSE;
+    }
+
+    if (!DIALOG_GetCharSizeFromDC( hdc, 0, &size ))
+    {
+	DeleteDC( hdc );
+	ERR("Could not initialize base dialog units\n");
+	return FALSE;
+    }
+
     DeleteDC( hdc );
     xBaseUnit = size.cx;
     yBaseUnit = size.cy;