Don't assert when unknown key seen; just ignore.

This commit is contained in:
ehouse 2008-11-08 16:19:04 +00:00
parent cfc00206c1
commit 30df2166ab

View file

@ -316,8 +316,8 @@ flipKey( XP_Key key, XP_Bool flip )
case XP_CURSOR_KEY_ALTRIGHT:
result = XP_CURSOR_KEY_ALTDOWN; break;
default:
XP_LOGF( "unexpected key: %s", XP_Key_2str(key) );
XP_ASSERT(0);
/* not en error -- but we don't modify the key */
break;
}
}
return result;