make get_key() result const char *, so that it is not modified
This commit is contained in:
+2
-2
@@ -348,12 +348,12 @@ drivers_output( int state )
|
||||
}
|
||||
|
||||
|
||||
char *
|
||||
const char *
|
||||
drivers_get_key()
|
||||
{
|
||||
/* Find the first input keystroke, if any */
|
||||
Driver *drv;
|
||||
char * keystroke;
|
||||
const char * keystroke;
|
||||
|
||||
debug( RPT_DEBUG, "%s()", __FUNCTION__ );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user