[ros-diffs] [weiden] 19820: fixed a device status check

weiden at svn.reactos.com weiden at svn.reactos.com
Fri Dec 2 00:14:38 CET 2005


fixed a device status check
Modified: trunk/reactos/lib/devmgr/misc.c
  _____  

Modified: trunk/reactos/lib/devmgr/misc.c
--- trunk/reactos/lib/devmgr/misc.c	2005-12-01 23:02:50 UTC (rev
19819)
+++ trunk/reactos/lib/devmgr/misc.c	2005-12-01 23:14:30 UTC (rev
19820)
@@ -452,12 +452,12 @@

         szBuffer[0] = L'\0';
         if (ProblemNumber == 0)
         {
-            if (!(Status & DN_DRIVER_LOADED))
+            if (!(Status & (DN_DRIVER_LOADED | DN_STARTED)))
             {
                 MessageId = IDS_NODRIVERLOADED;
             }
 
-            goto UnknownProblem;
+            goto GeneralProblem;
         }
         else
         {
@@ -487,7 +487,7 @@
     }
     else
     {
-UnknownProblem:
+GeneralProblem:
         if (LoadString(hDllInstance,
                        MessageId,
                        szBuffer,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051202/8cc54446/attachment.html


More information about the Ros-diffs mailing list