# HG changeset patch # User faust3 # Date 1065725236 0 # Node ID 42cb00f7209f52bc6f3583d8c0afe89160c8f601 # Parent 3cf2c7f8d9a9418be7302c67812dec2d1218c118 sub autoloading fix for windows diff -r 3cf2c7f8d9a9 -r 42cb00f7209f subreader.c --- 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) {