make get_key() result const char *, so that it is not modified

This commit is contained in:
marschap
2006-04-06 13:25:14 +00:00
parent bc01f2e012
commit 743871cff3
36 changed files with 76 additions and 77 deletions
+1 -1
View File
@@ -1241,7 +1241,7 @@ MtxOrb_icon (Driver *drvthis, int x, int y, int icon)
/*
* Return one char from the KeyRing
*/
MODULE_EXPORT char *
MODULE_EXPORT const char *
MtxOrb_get_key (Driver *drvthis)
{
char in = 0;