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

List:       kmail-devel
Subject:    [PATCH]: Fix line endings in dialog
From:       Chris Howells <chris () chrishowells ! co ! uk>
Date:       2001-11-30 18:14:54
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

When turning HTML view on just now, I realised that the line endings in the 
dialog box were broken due to the hard coded \n to force the new line.

This patch should fix it -- alright to commit?

- -- 
Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt
KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8B8yeF8Iu1zN5WiwRAm6jAJ4qSwIRTECFXNk+f0DqS43pGN0tHgCfSaxu
h2ZeFfvDQtrTlW6MJJ2PMyU=
=OIMr
-----END PGP SIGNATURE-----

["kmail.diff" (text/x-diff)]

Index: kmmainwin.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmmainwin.cpp,v
retrieving revision 1.382
diff -u -3 -p -r1.382 kmmainwin.cpp
--- kmmainwin.cpp	2001/11/27 21:15:17	1.382
+++ kmmainwin.cpp	2001/11/30 18:13:39
@@ -937,9 +937,9 @@ void KMMainWin::slotOverrideHtml()
   if( mHtmlPref == mFolderHtmlPref ) {
     int result = KMessageBox::warningContinueCancel( this,
       // the warning text is taken from configuredialog.cpp:
-      i18n( "Use of HTML in mail will make you more vulnerable to\n"
-        "\"spam\" and may increase the likelihood that your system will be\n"
-        "compromised by other present and anticipated security exploits." ),
+      i18n( "Use of HTML in mail will make you more vulnerable to"
+        " \"spam\" and may increase the likelihood that your system will be"
+        " compromised by other present and anticipated security exploits." ),
       i18n( "Security Warning" ),
       i18n( "Continue" ),
       "OverrideHtmlWarning", false);

_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.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