Mercurial > audlegacy
changeset 1223:f1e57db353a3 trunk
[svn] - Don't crash when we encounter an unsupported NSF/NSFE type
author | nenolod |
---|---|
date | Wed, 14 Jun 2006 16:59:24 -0700 |
parents | 09a96847fa53 |
children | 5b3d7f6891be |
files | ChangeLog Plugins/Input/console/Audacious_Driver.cpp |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jun 14 02:07:52 2006 -0700 +++ b/ChangeLog Wed Jun 14 16:59:24 2006 -0700 @@ -1,3 +1,13 @@ +2006-06-14 09:07:52 +0000 George Averill <nhjm449@gmail.com> + revision [1358] + - There's an ellipsis character in text.png. Let's use it like we should. + + + Changes: Modified: + +4 -0 trunk/audacious/textbox.c + +4 -2 trunk/audacious/ui_playlist.c + + 2006-06-14 08:54:30 +0000 William Pitcock <nenolod@nenolod.net> revision [1356] - song_change II (`Do Something') begins.
--- a/Plugins/Input/console/Audacious_Driver.cpp Wed Jun 14 02:07:52 2006 -0700 +++ b/Plugins/Input/console/Audacious_Driver.cpp Wed Jun 14 16:59:24 2006 -0700 @@ -730,8 +730,12 @@ case type_gym: load_file( tag, in, 0, NULL, (Gym_Emu*) 0 ); break; case type_vgm: load_file( tag, in, 0, NULL, (Vgm_Emu*) 0 ); break; case type_spc: load_file( tag, in, 0, NULL, (Spc_Emu*) 0 ); break; + default: return FALSE; } + if (emu == NULL) + return FALSE; + for (int i = 0; i < emu->track_count(); i++) { gchar _buf[65535];