X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinInput.cpp;h=d42ae78ef310c4f73181e1772ed3f66ef14b9572;hb=decb00e82a2e65e25dbcdd8f16fff5a6a07d31d6;hp=59b1277eb2f90e50c6de09f759417a7504b5a9c9;hpb=d4fc2f86e43ce4e3e00ee033203f664a4a3d20a5;p=lugaru.git diff --git a/Source/WinInput.cpp b/Source/WinInput.cpp index 59b1277..d42ae78 100644 --- a/Source/WinInput.cpp +++ b/Source/WinInput.cpp @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "WinInput.h" #ifdef WIN32 -#include "String.h" +#include #else #include #include @@ -1006,12 +1006,3 @@ char Shift(char which) } return which; } - -bool Compare(const char *thestring, const char *tocompare, int start, int end) -{ - static int i; - for(i=start;i<=end;i++){ - if(thestring[i]!=tocompare[i-start]&&thestring[i]!=tocompare[i-start]+'A'-'a')return 0; - } - return 1; -}