diff --git a/xtldr2/debug.c b/xtldr2/debug.c index 87b4a08..668766a 100644 --- a/xtldr2/debug.c +++ b/xtldr2/debug.c @@ -84,7 +84,7 @@ BlpInitializeDebugConsole() while(DebugPort != NULL) { /* Check what port is set for debugging */ - if(RtlCompareWideString(DebugPort, L"COM", 3) == 0) + if(RtlCompareWideStringInsensitive(DebugPort, L"COM", 3) == 0) { /* Read COM port number */ DebugPort += 3; @@ -97,7 +97,7 @@ BlpInitializeDebugConsole() } /* Check if custom COM port address supplied */ - if(PortNumber == 0 && RtlCompareWideString(DebugPort, L":0x", 3) == 0) + if(PortNumber == 0 && RtlCompareWideStringInsensitive(DebugPort, L":0x", 3) == 0) { /* COM port address provided */ DebugPort += 3; @@ -140,7 +140,7 @@ BlpInitializeDebugConsole() /* Enable debug port */ BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SERIAL; } - else if(RtlCompareWideString(DebugPort, L"SCREEN", 5) == 0) + else if(RtlCompareWideStringInsensitive(DebugPort, L"SCREEN", 5) == 0) { /* Enable debug port */ BlpConfiguration.DebugPort |= XTBL_DEBUGPORT_SCREEN;