From c24433b1e2f1558991b3d6b7c0cbee80892d0f66 Mon Sep 17 00:00:00 2001 From: Kingcom Date: Mon, 1 Jul 2013 10:01:49 +0200 Subject: [PATCH] Remove remaining instances of stricmp --- Core/MIPS/MIPSDebugInterface.cpp | 2 +- Windows/Debugger/CtrlDisAsmView.cpp | 2 +- Windows/Debugger/Debugger_Disasm.cpp | 2 +- native | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/MIPS/MIPSDebugInterface.cpp b/Core/MIPS/MIPSDebugInterface.cpp index 41212fc80e..8eba886521 100644 --- a/Core/MIPS/MIPSDebugInterface.cpp +++ b/Core/MIPS/MIPSDebugInterface.cpp @@ -46,7 +46,7 @@ public: } } - if (stricmp(str,"pc") == 0) + if (strcasecmp(str,"pc") == 0) { referenceIndex = 32; return true; diff --git a/Windows/Debugger/CtrlDisAsmView.cpp b/Windows/Debugger/CtrlDisAsmView.cpp index aabd9d32be..ce5f37e984 100644 --- a/Windows/Debugger/CtrlDisAsmView.cpp +++ b/Windows/Debugger/CtrlDisAsmView.cpp @@ -261,7 +261,7 @@ void CtrlDisAsmView::parseDisasm(const char* disasm, char* opcode, char* argumen disasm += 2; for (int i = 0; i < 32; i++) { - if (stricmp(jumpRegister+2,debugger->GetRegName(0,i)) == 0) + if (strcasecmp(jumpRegister+2,debugger->GetRegName(0,i)) == 0) { branchRegister = i; break; diff --git a/Windows/Debugger/Debugger_Disasm.cpp b/Windows/Debugger/Debugger_Disasm.cpp index b8d8399c59..ece7d1da5b 100644 --- a/Windows/Debugger/Debugger_Disasm.cpp +++ b/Windows/Debugger/Debugger_Disasm.cpp @@ -570,7 +570,7 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) int regNum = -1; for (int i = 0; i < 32; i++) { - if (stricmp(reg+2,cpu->GetRegName(0,i)) == 0) + if (strcasecmp(reg+2,cpu->GetRegName(0,i)) == 0) { regNum = i; break; diff --git a/native b/native index 033a3437fb..42877f5a1f 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit 033a3437fbf8894dbd617eb2447b1e55cdc57a61 +Subproject commit 42877f5a1fd94a95a4a3df5d47abeae96d6f9ca9