From a899c210b9de405a232f0cd102ca9409ef89518b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 15 Mar 2009 18:23:00 +0100 Subject: log: removed DEBUG() and FATAL() Use GLib the logging functions g_debug(), g_error() instead. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 483947a1a..a8e6ddae5 100644 --- a/src/main.c +++ b/src/main.c @@ -168,9 +168,9 @@ initialize_decoder_and_player(void) if (param != NULL) { perc = strtod(param->value, &test); if (*test != '%' || perc < 0 || perc > 100) { - FATAL("buffered before play \"%s\" is not a positive " - "percentage and less than 100 percent, line %i" - "\n", param->value, param->line); + g_error("buffered before play \"%s\" is not a positive " + "percentage and less than 100 percent, line %i", + param->value, param->line); } } else perc = DEFAULT_BUFFER_BEFORE_PLAY; -- cgit v1.2.3