summaryrefslogtreecommitdiff
path: root/win32/config.h
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-11-02 14:12:52 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-11-02 14:12:52 +0000
commit343ab585e64376b933bd396f01b2009285c30e87 (patch)
tree5a9aa910b9faecbd3acd4712c801f1b1dc27fedb /win32/config.h
parente048d699a94fd42068fd706b56d628b55f4b7b72 (diff)
downloadxine-lib-343ab585e64376b933bd396f01b2009285c30e87.tar.gz
xine-lib-343ab585e64376b933bd396f01b2009285c30e87.tar.bz2
Fix SEGFAULT beside error if no plugin loaded yet.
Fix one "segfault" of win32 xineui. Next piece of patch for compiling xine under MSVC. CVS patchset: 5676 CVS date: 2003/11/02 14:12:52
Diffstat (limited to 'win32/config.h')
-rwxr-xr-xwin32/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/config.h b/win32/config.h
index f5cb020c3..0ad72c880 100755
--- a/win32/config.h
+++ b/win32/config.h
@@ -420,7 +420,7 @@ static char * exec_path_append_subdir( char * string )
// terminate at first space
tmpchar = strchr( tmp_win32_path, ' ' );
- *tmpchar = 0;
+ if (tmpchar) *tmpchar = 0;
}
// find the last occurance of a back