More unsigned < 0 tests.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32351 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-02-24 13:28:20 +00:00
parent a02d1254f2
commit 87d2bfba5f

View file

@ -637,7 +637,7 @@ typedef struct {
int pos;
int end;
if (elementState < 0 || elementState > GSThemeSelectedState)
if (elementState > GSThemeSelectedState)
{
pos = 0;
end = GSThemeSelectedState;
@ -1120,7 +1120,7 @@ typedef struct {
int pos;
int end;
if (elementState < 0 || elementState > GSThemeSelectedState)
if (elementState > GSThemeSelectedState)
{
pos = 0;
end = GSThemeSelectedState;