diff options
author | Darkvater <darkvater@openttd.org> | 2006-12-09 10:56:12 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-12-09 10:56:12 +0000 |
commit | f87c8834e23188f27cd1fd1626c040d3ebafb998 (patch) | |
tree | 821bb8da5168e61028bf8fc5f43ea46f076a70e9 /music_gui.c | |
parent | 9a0917141b99cea7703e28af3c46cdbc86f23629 (diff) | |
download | openttd-f87c8834e23188f27cd1fd1626c040d3ebafb998.tar.xz |
(svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because
it interferes with OS/2 symbol in libc (psmedley)
Diffstat (limited to 'music_gui.c')
-rw-r--r-- | music_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/music_gui.c b/music_gui.c index e3fa0dcc8..84a6324c2 100644 --- a/music_gui.c +++ b/music_gui.c @@ -90,7 +90,7 @@ static void DoPlaySong(void) { char filename[256]; snprintf(filename, sizeof(filename), "%s%s", - _path.gm_dir, origin_songs_specs[_music_wnd_cursong - 1].filename); + _paths.gm_dir, origin_songs_specs[_music_wnd_cursong - 1].filename); _music_driver->play_song(filename); } @@ -109,7 +109,7 @@ static void SelectSongToPlay(void) do { if (_playlists[msf.playlist][i] != 0) { // Don't evaluate playlist terminator snprintf(filename, sizeof(filename), "%s%s", - _path.gm_dir, origin_songs_specs[(_playlists[msf.playlist][i]) - 1].filename); + _paths.gm_dir, origin_songs_specs[(_playlists[msf.playlist][i]) - 1].filename); /* we are now checking for the existence of that file prior * to add it to the list of available songs */ |