Renamed variable, since "ERROR" is apparantly reserved/used.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-02-28 04:37:18 +00:00
parent 429d63e0bb
commit 9f6f5f6209

View File

@ -119,8 +119,9 @@ bool SFXImpl::load(const char* filename)
m_soundBuffer = alutCreateBufferFromFile( path.c_str() );
if( m_soundBuffer == AL_NONE )
{
const int ERROR = alutGetError();
fprintf(stderr, "Error 1b loading SFX: %s failed because %s \n", path.c_str(), alutGetErrorString(ERROR));
const int ALUT_ERROR = alutGetError();
fprintf(stderr, "Error 1b loading SFX: %s failed because %s \n", path.c_str(),
alutGetErrorString(ALUT_ERROR));
return false;
}