diff --git a/Changelog b/Changelog index 471507b..3590754 100644 --- a/Changelog +++ b/Changelog @@ -2,8 +2,8 @@ Stable versions --------------- 4.0.3 (): - - Fix native-endian support in coreaudio driver (reported by - Misty De Meo) + - Fix native-endian coreaudio output (reported by Misty De Meo) + - Fix MinGW32 build (reported by vaseleos0) New features requested by Benjamin Shadwick: - Add commands '<' and '>' to jump to previous/next sequence diff --git a/src/main.c b/src/main.c index df205dd..9cc7ec0 100644 --- a/src/main.c +++ b/src/main.c @@ -192,11 +192,11 @@ int main(int argc, char **argv) int skipprev; FILE *f = NULL; int val, lf_flag; + int flags; + int played; #ifndef WIN32 struct timeval tv; struct timezone tz; - int flags; - int played; gettimeofday(&tv, &tz); srand(tv.tv_usec); @@ -286,10 +286,10 @@ int main(int argc, char **argv) #ifdef SIGTSTP signal(SIGCONT, sigcont_handler); signal(SIGTSTP, sigtstp_handler); + sigcont_handler(0); #endif #endif - sigcont_handler(0); xc = xmp_create_context(); skipprev = 0; @@ -442,7 +442,9 @@ int main(int argc, char **argv) } } +#ifdef SIGTSTP sigcont_handler(0); +#endif if (foreground_out && opt.verbose > 0) { info_frame(&mi, &fi, &control, refresh_status); refresh_status = 0;