Commit 2422deeb authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

EffectsEngine: Fixing Win32 effects loading.

parent 0e673e1f
......@@ -141,7 +141,7 @@ EffectsEngine::loadEffects()
TCHAR appDir[128];
if ( GetModuleFileName( NULL, appDir, 128 ) > 0 )
{
wchat_t *pos = wcsrchr( appDir, '\\' );
TCHAR *pos = strrchr( appDir, '\\' );
if ( pos == NULL )
{
qWarning() << "Can't use ModuleFileName:" << appDir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment