mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
a02d1254f2
commit
87d2bfba5f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue