cvs diff -u -- scribus.cpp (in directory E:\Scribus For Windows\scribus-1.3.x-cvs\Scribus\scribus\)
cvs diff: Empty password used - try 'cvs login' with a real password

Index: scribus.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/scribus.cpp,v
retrieving revision 1.228.2.608
diff -u -r1.228.2.608 scribus.cpp
--- scribus.cpp	5 Nov 2005 00:16:29 -0000	1.228.2.608
+++ scribus.cpp	5 Nov 2005 20:04:10 -0000
@@ -3587,7 +3591,12 @@
 	if (!fileName.isEmpty())
 	{
 		QString FName = fi.absFilePath();
-		QDir::setCurrent(fi.dirPath(true));
+		QString DPath = fi.dirPath(true);
+		// Necessary on win32 platform for setCurrent() to succeed
+		// if document is located at drive root
+		if( !DPath.endsWith("/") )
+			DPath += "/";
+		QDir::setCurrent(DPath);
 		FileLoader *fileLoader = new FileLoader(FName);
 		if (fileLoader->TestFile() == -1)
 		{


