diff options
author | Dmitry Fleytman <dfleytma@redhat.com> | 2015-02-26 10:03:23 +0200 |
---|---|---|
committer | Dmitry Fleytman <dfleytma@redhat.com> | 2015-02-26 10:04:46 +0200 |
commit | 861f3e1860d74aa5e1b194eccd39cc7d22987038 (patch) | |
tree | 36c371a74bc53212b5411731c5cc510a3a42a5e8 | |
parent | 1e498506fafdc1ed0ac1c0b9ff727dcbfdcaa62f (diff) |
UsbDkController: Make command line switches case sensitivev1.00-1
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
-rw-r--r-- | UsbDkController/UsbDkController.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/UsbDkController/UsbDkController.cpp b/UsbDkController/UsbDkController.cpp index 83c5280..5ce2de3 100644 --- a/UsbDkController/UsbDkController.cpp +++ b/UsbDkController/UsbDkController.cpp @@ -290,19 +290,19 @@ int __cdecl _tmain(int argc, TCHAR* argv[]) ShowUsage(); return 0; } - else if (_tcsicmp(L"-i", argv[1]) == 0) + else if (_tcscmp(L"-i", argv[1]) == 0) { return Controller_InstallDriver(); } - else if (_tcsicmp(L"-u", argv[1]) == 0) + else if (_tcscmp(L"-u", argv[1]) == 0) { return Controller_UninstallDriver(); } - else if (_tcsicmp(L"-n", argv[1]) == 0) + else if (_tcscmp(L"-n", argv[1]) == 0) { return Controller_EnumerateDevices(); } - else if (_tcsicmp(L"-r", argv[1]) == 0) + else if (_tcscmp(L"-r", argv[1]) == 0) { if (argc < 4) { |