changeset 11062:42cb00f7209f

sub autoloading fix for windows
author faust3
date Thu, 09 Oct 2003 18:47:16 +0000
parents 3cf2c7f8d9a9
children f44ee899fbf1
files subreader.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Thu Oct 09 17:28:16 2003 +0000
+++ b/subreader.c	Thu Oct 09 18:47:16 2003 +0000
@@ -1674,6 +1674,9 @@
     subcnt = 0;
     
     tmp = strrchr(fname,'/');
+#ifdef WIN32
+    if(!tmp)tmp = strrchr(fname,'\\');
+#endif
     
     // extract filename & dirname from fname
     if (tmp) {