X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FMacInput.h;h=60e65f9f92d6d5f59ed4a32a05b6740eb3e5e0b5;hb=eeed07cb4def906a4a2bd6331cfb55163da8c5e3;hp=aa85de73953cad03d2d1aac90648be0cabcb93a0;hpb=44146d06c780d3aaa283672fedb08b8870ebe1b9;p=lugaru.git diff --git a/Source/MacInput.h b/Source/MacInput.h index aa85de7..60e65f9 100644 --- a/Source/MacInput.h +++ b/Source/MacInput.h @@ -135,10 +135,10 @@ void InitMouse(); void MoveMouse(int xcoord, int ycoord, Point *mouseloc); void RefreshMouse(Point *mouseloc); void DisposeMouse(); -unsigned short CharToKey(char* which); -char* KeyToChar(unsigned short which); +unsigned short CharToKey(const char* which); +const char* KeyToChar(unsigned short which); char KeyToSingleChar(unsigned short which); char Shift(char which); -bool Compare(char *thestring, char *tocompare, int start, int end); +bool Compare(const char *thestring, const char *tocompare, int start, int end); #endif