[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/kfontinst/kfontinst
From:       Craig Drummond <craig () kde ! org>
Date:       2004-03-14 1:11:19
Message-ID: 20040314011119.BD63890AB () office ! kde ! org
[Download RAW message or body]

CVS commit by craig: 

Fix return value when creating a directory.


  M +2 -2      Main.cpp   1.7


--- kdebase/kcontrol/kfontinst/kfontinst/Main.cpp  #1.6:1.7
@@ -382,5 +382,5 @@ int main(int argc, char *argv[])
             if(0==CMisc::stricmp(argv[1], "mkdir"))
                 rv=kfi_mkdir(argv[2]);
-            if(0==CMisc::stricmp(argv[1], "adddir"))
+            else if(0==CMisc::stricmp(argv[1], "adddir"))
                 rv=kfi_mkdir(argv[2], false);
             else if(0==CMisc::stricmp(argv[1], "rmdir"))


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic