diff subreader.c @ 11062:42cb00f7209f

sub autoloading fix for windows
author faust3
date Thu, 09 Oct 2003 18:47:16 +0000
parents 80276a5ccb34
children e1976281b127
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) {