diff decoders/modplug.c @ 387:fb519e6028e3

Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 05 Jul 2002 23:11:51 +0000
parents 51883cd1193e
children 53ce18591f5d
line wrap: on
line diff
--- a/decoders/modplug.c	Fri Jul 05 22:34:55 2002 +0000
+++ b/decoders/modplug.c	Fri Jul 05 23:11:51 2002 +0000
@@ -189,8 +189,7 @@
     if (!has_extension)
     {
         SNDDBG(("MODPLUG: Unrecognized file type: %s\n", ext));
-        Sound_SetError("MODPLUG: Not a module file.");
-        return(0);
+        BAIL_MACRO("MODPLUG: Not a module file.", 0);
     } /* if */
     
         /*