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

List:       kmail-devel
Subject:    =?iso-8859-1?Q?=5B=B5PATCH=5D?= kmfoldermgr.cpp
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2001-04-29 19:37:48
[Download RAW message or body]

Yeah, this isn't worth this extra email, but there you are. I think this
is obviously correct. The subtlety of that cast has to be very, very
deep (and therefore should be explained in a comment) if it has a
meaning at all.

Marc

Patch should apply with offset.

--- kmfoldermgr.cpp.orig        Mon Apr 30 08:15:38 2001
+++ kmfoldermgr.cpp     Mon Apr 30 08:26:39 2001
@@ -172,8 +176,7 @@

   if (!folder)
   {
-    // Are these const char* casts really necessary? -sanders
-    qWarning(i18n("Creating missing folder `%s'.\n"), (const
char*)aFolderName);
+    qWarning(i18n("Creating missing folder `%1'.\n").arg(aFolderName));

     folder = createFolder(aFolderName, TRUE);
     if (!folder) {


-- 
Marc Mutz <Marc@Mutz.com>     http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

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

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