Fixed CreateDC to work properly when it is called with a device.

diff --git a/objects/dc.c b/objects/dc.c
index 26ebd8c..4307e1a 100644
--- a/objects/dc.c
+++ b/objects/dc.c
@@ -511,9 +511,7 @@
     const DC_FUNCTIONS *funcs;
     char buf[300];
 
-    if (device) {
-	if(!DRIVER_GetDriverName( device, buf, sizeof(buf) )) return 0;
-    } else
+    if (!device || !DRIVER_GetDriverName( device, buf, sizeof(buf) ))
         strcpy(buf, driver);
 
     if (!(funcs = DRIVER_FindDriver( buf ))) return 0;