summaryrefslogtreecommitdiff
path: root/driver/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'driver/driver.cpp')
-rw-r--r--driver/driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/driver.cpp b/driver/driver.cpp
index 2c234ba..38d127b 100644
--- a/driver/driver.cpp
+++ b/driver/driver.cpp
@@ -55,7 +55,7 @@ Arguments:
PDEVICE_EXTENSION devExt = FilterGetData(hDevice);
bool devMatch = true;
- if (wcsncmp(L"", global.args.device_hw_id, sizeof(global.args.device_hw_id)) != 0) {
+ if (global.args.device_hw_id[0] != 0) {
devMatch = wcsncmp(devExt->hwid, global.args.device_hw_id, sizeof(global.args.device_hw_id)) == 0;
}