Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
2a4570f6c6
commit
b1c970684c
@ -185,7 +185,9 @@ int Widget::getNewNoFocusID()
|
|||||||
|
|
||||||
bool Widget::isFocusableId(const int id)
|
bool Widget::isFocusableId(const int id)
|
||||||
{
|
{
|
||||||
if (id >= unfocusableIdsBase) return false;
|
if (id < 0) return false;
|
||||||
|
|
||||||
|
if ((unsigned int)id >= unfocusableIdsBase) return false;
|
||||||
else return true;
|
else return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user