mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-25 20:16:53 +01:00
silence a warning
This commit is contained in:
parent
6b3809939a
commit
4e86b8b0cb
@ -2839,8 +2839,13 @@ static void ScreenPositionWindowUpdate(void * ptr, int x, int y)
|
||||
GCSettings.xshift += x;
|
||||
GCSettings.yshift += y;
|
||||
|
||||
if(!(GCSettings.xshift > -50 && GCSettings.xshift < 50))
|
||||
GCSettings.xshift = 0;
|
||||
if(!(GCSettings.yshift > -50 && GCSettings.yshift < 50))
|
||||
GCSettings.yshift = 0;
|
||||
|
||||
char shift[10];
|
||||
sprintf(shift, "%i, %i", GCSettings.xshift, GCSettings.yshift);
|
||||
sprintf(shift, "%hd, %hd", GCSettings.xshift, GCSettings.yshift);
|
||||
settingText->SetText(shift);
|
||||
b->ResetState();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user