From 6fcc2cacad82cb31a7c236a863635f5e75a8fc2f Mon Sep 17 00:00:00 2001 From: w1z7ard Date: Fri, 5 Oct 2007 02:10:42 +0000 Subject: [PATCH] out of paranoia, put SDL_EnableUnicode() to after SDL_Init git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@514 6778bc44-b910-0410-a7a0-be141de4315d --- src/projectM-xmms/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/projectM-xmms/main.cpp b/src/projectM-xmms/main.cpp index 472f10e81..671f6c658 100755 --- a/src/projectM-xmms/main.cpp +++ b/src/projectM-xmms/main.cpp @@ -274,10 +274,6 @@ int worker_func(void*) extern "C" void projectM_xmms_init(void) { - // printf("projectM plugin: Initializing\n"); - - SDL_EnableUNICODE(1); - /* First, initialize SDL's video subsystem. */ // std::cerr << "sdl init begin" << std::endl; if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_TIMER ) < 0 ) { @@ -288,6 +284,11 @@ extern "C" void projectM_xmms_init(void) return; } + + // printf("projectM plugin: Initializing\n"); + + SDL_EnableUNICODE(1); + //std::cerr << "sdl init end" << std::endl; sem = SDL_CreateSemaphore(1); worker_thread = SDL_CreateThread ( *worker_func, NULL);