From 2f885fb451377df81c584838445aa38a365af3bf Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Sun, 15 Nov 2009 17:34:02 +0100 Subject: [PATCH] fixed logger usage (in case of no ogg support) --- src/hqp/hq_sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hqp/hq_sound.cpp b/src/hqp/hq_sound.cpp index a8bb66743..15521ebce 100644 --- a/src/hqp/hq_sound.cpp +++ b/src/hqp/hq_sound.cpp @@ -49,7 +49,7 @@ short HQSndDrv_Load(SDL_AudioSpec *AudioSpec, stHQSound *psound, const std::stri // Check, if it is a wav file or go back to classic sounds if (SDL_LoadWAV (Utf8ToSystemNative(fullfname).c_str(), &AudioFileSpec, &(psound->sound_buffer), &(psound->sound_len)) == NULL) { - g_pLogFile->textOut(PURPLE,"Wave file %s could not be opened: \"%s\". Trying to load the classical sound
", buf.c_str(), SDL_GetError()); + g_pLogFile->ftextOut(PURPLE,"Wave file %s could not be opened: \"%s\". Trying to load the classical sound
", buf.c_str(), SDL_GetError()); return 1; }