workaround

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@112 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-22 22:41:04 +00:00
parent 2801b57435
commit 34e097f01b
2 changed files with 2 additions and 2 deletions

View File

@@ -602,7 +602,6 @@ int c;
for(i=0;i<text.size();i++)
{
c = text[i];
if (!c) break;
if (c!=13)
{
if (highlight) c|=128;

View File

@@ -179,7 +179,8 @@ void CSound::callback(void *unused, Uint8 *stream, int len)
if (g_pMusicPlayer->playing() == PLAY_MODE_PLAY)
{
SDL_MixAudio(stream, g_pMusicPlayer->passBuffer(len), len, SDL_MIX_MAXVOLUME);
// TODO: this crashes for me sometimes, but only with the std::string menu changes
//SDL_MixAudio(stream, g_pMusicPlayer->passBuffer(len), len, SDL_MIX_MAXVOLUME);
}
for( i=0 ; i < m_mixing_channels ; i++ )