Skip to content

Commit

Permalink
unix-io: Don't pop up an message box every time a file fails to open.…
Browse files Browse the repository at this point in the history
… Closes: #246.
  • Loading branch information
jlindgren90 committed Feb 2, 2013
1 parent ce77b1b commit ac7cf60
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/unix-io/unix-io.c
Expand Up @@ -28,7 +28,6 @@
#include <unistd.h>

#include <audacious/i18n.h>
#include <audacious/misc.h>
#include <audacious/plugin.h>
#include <libaudcore/audstrings.h>

Expand All @@ -38,8 +37,8 @@
#define POINTER_TO_INT(x) ((int) (ptrdiff_t) (x))

#define unix_error(...) do { \
SPRINTF (unix_error_buf, __VA_ARGS__); \
aud_interface_show_error (unix_error_buf); \
fprintf (stderr, __VA_ARGS__); \
fputc ('\n', stderr); \
} while (0)

static void * unix_fopen (const char * uri, const char * mode)
Expand Down

0 comments on commit ac7cf60

Please sign in to comment.