From e97cfecce3e64b491c07910f45c16719137f3c47 Mon Sep 17 00:00:00 2001 From: albertzeyer Date: Thu, 23 Jul 2009 09:15:13 +0000 Subject: [PATCH] cleanup git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@119 4df4b0f3-56ce-47cb-b001-ed939b7d65a6 --- src/hqp/hq_sound.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hqp/hq_sound.cpp b/src/hqp/hq_sound.cpp index 232d4bf2c..32a08732b 100644 --- a/src/hqp/hq_sound.cpp +++ b/src/hqp/hq_sound.cpp @@ -26,9 +26,7 @@ short HQSndDrv_Load(SDL_AudioSpec *AudioSpec, stHQSound *psound, const std::stri #ifdef BUILD_WITH_OGG if(openOGGSound(fp, &AudioFileSpec, AudioSpec->format, psound) != 0) { - char *buf2; - buf2 = (char*) soundfile.c_str(); - g_pLogFile->ftextOut(PURPLE,"OGG file could not be opened: \"%s\". The file was detected, but appears to be damaged. Trying to load the classical sound
", (const char*)buf2); + g_pLogFile->ftextOut(PURPLE,"OGG file could not be opened: \"%s\". The file was detected, but appears to be damaged. Trying to load the classical sound
", soundfile.c_str()); return 1; } psound->enabled = true;