$NetBSD: patch-ad,v 1.1 2000/02/02 12:01:59 scw Exp $

--- kdevelop/cupdatekdedocdlg.cpp.orig	Sun Oct 31 16:01:54 1999
+++ kdevelop/cupdatekdedocdlg.cpp	Wed Feb  2 11:27:08 2000
@@ -271,6 +271,7 @@
     conf->writeEntry("doc_kde",new_doc_path);
   }
 
+  QDir().mkdir(new_doc_path); // This is an attempt to avoid the trailing '/'
   if(new_doc_path.right(1) != "/"){
     new_doc_path += "/";
   }
@@ -278,7 +279,6 @@
   if(doc_path.right(1) != "/"){
     doc_path += "/";
   }
-  QDir().mkdir(new_doc_path);
   if(!QFileInfo(new_doc_path).isWritable()){
     KMsgBox::message(this,i18n("Error in creating documentation!"),
                          i18n("You need write permission to create\n"
