[vlmc-devel] commit: EffectsEngine: Fixing Win32 effects loading. ( =?UTF-8?Q?Hugo=20Beauz=C3=A9e=2DLuyssen?==?UTF-8?Q?=20?=)

git at videolan.org git at videolan.org
Wed Dec 29 17:24:34 CET 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Dec 29 17:23:51 2010 +0100| [2422deeb5f18216c7b97edefebe70ef4549626e8] | committer: Hugo Beauzée-Luyssen 

EffectsEngine: Fixing Win32 effects loading.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=2422deeb5f18216c7b97edefebe70ef4549626e8
---

 src/EffectsEngine/EffectsEngine.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/EffectsEngine/EffectsEngine.cpp b/src/EffectsEngine/EffectsEngine.cpp
index 1494550..fe50af5 100644
--- a/src/EffectsEngine/EffectsEngine.cpp
+++ b/src/EffectsEngine/EffectsEngine.cpp
@@ -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;



More information about the Vlmc-devel mailing list