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

List:       kde-commits
Subject:    Re: kdebase/konsole/konsole
From:       David Faure <dfaure () trolltech ! com>
Date:       2003-03-13 18:51:57
[Download RAW message or body]

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

On Thursday 13 March 2003 19:49, Stephan Binner wrote:
> CVS commit by binner: 
> 
> Always #define round
> 
> 
>   M +0 -2      TEWidget.cpp   1.186
> 
> 
> --- kdebase/konsole/konsole/TEWidget.cpp  #1.185:1.186
> @@ -86,7 +86,5 @@
>  #endif
>  
> -#ifndef round
>  #define round(a) ((a)>0 ? (int)((a)+0.5) : -(int)(0.5-(a)))
> -#endif

Next question is... why not use qRound() in the first place?

- -- 
David FAURE, faure@kde.org, sponsored by TrollTech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
How to write a Makefile.am for KDE/Qt code:
http://developer.kde.org/documentation/other/makefile_am_howto.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cNNN72KcVAmwbhARAmagAKCKbjGWyXVYDTWUwlqrBurjPZDIDQCdFX/T
SOhBX6Z1wVeIt6o+lizfmZw=
=gXmB
-----END PGP SIGNATURE-----


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

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