forked from mirror/OpenTTD
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
This commit is contained in:
@@ -247,7 +247,7 @@ static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e)
|
||||
byte *p;
|
||||
|
||||
if (msf.playlist < 4) return;
|
||||
if (!IS_INT_INSIDE(y, 0, NUM_SONGS_AVAILABLE)) return;
|
||||
if (!IsInsideMM(y, 0, NUM_SONGS_AVAILABLE)) return;
|
||||
|
||||
p = _playlists[msf.playlist];
|
||||
for (i = 0; i != NUM_SONGS_PLAYLIST - 1; i++) {
|
||||
@@ -267,7 +267,7 @@ static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e)
|
||||
byte *p;
|
||||
|
||||
if (msf.playlist < 4) return;
|
||||
if (!IS_INT_INSIDE(y, 0, NUM_SONGS_AVAILABLE)) return;
|
||||
if (!IsInsideMM(y, 0, NUM_SONGS_AVAILABLE)) return;
|
||||
|
||||
p = _playlists[msf.playlist];
|
||||
for (i = y; i != NUM_SONGS_PLAYLIST - 1; i++) {
|
||||
|
Reference in New Issue
Block a user