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,