forked from enlightenment/efl
fix parsing module path on Windows
Summary: only '/' path separator is used while on Windows it can also be '\\'. Fix rage and emotion_test play of videos Test Plan: emotion_test plays videos while it didn't before this patch Reviewers: raster, cedric, zmike Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9837
This commit is contained in:
parent
4e379f5db4
commit
0021d1386d
|
@ -335,7 +335,12 @@ _find_mod(const char *name)
|
|||
p > path;
|
||||
p--)
|
||||
{
|
||||
if (*p == '/')
|
||||
if ((*p == '/')
|
||||
/* FIXME : find a better way to handle Windows path in all the EFL */
|
||||
#ifdef _WIN32
|
||||
|| (*p == '\\')
|
||||
#endif
|
||||
)
|
||||
{
|
||||
found++;
|
||||
// found == 1 -> p = /module.*
|
||||
|
|
Loading…
Reference in New Issue