Oops, forgot the little patch... :))
diff -Naur svn/src/dvbcut.cpp r115-lastdirfix2/src/dvbcut.cpp
--- svn/src/dvbcut.cpp	2008-02-16 11:38:03.000000000 +0100
+++ r115-lastdirfix2/src/dvbcut.cpp	2008-02-16 14:02:45.000000000 +0100
@@ -1624,13 +1624,8 @@
       int n = dir.findRev('/');
       if (n > 0)
         dir = dir.left(n);
-      else if (n == 0)
-        dir = "/";
-#ifdef __WIN32__
-      // there has to be a / after the device name in case of a top level directory (i.e. 'C:/' and NOT 'C:')
-      if (dir.findRev(':') == int(dir.length())-1)
-        dir = dir+"/"; 
-#endif /* __WIN32__ */      
+      // adding a slash is NEEDED for top level directories (win or linux), and doesn't matter otherwise!
+      dir = dir+"/"; 
       settings().lastdir = dir;
     }
   } 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to