--- kdreamsite/kwrite/kwview.cpp Sun Nov 7 10:41:28 1999 +++ kdreamsite/kwrite/kwview.cpp.new Sat Nov 13 14:45:22 1999 @@ -1514,7 +1514,7 @@ int KWrite::open() { QString url; - if (!canDiscard()) return; + if (!canDiscard()) return -1; // if (kWriteDoc->hasFileName()) s = QFileInfo(kWriteDoc->fileName()).dirPath(); // else s = QDir::currentDirPath();