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

List:       kde-commits
Subject:    Re: quanta [POSSIBLY UNSAFE]
From:       Waldo Bastian <bastian () suse ! com>
Date:       2003-08-27 11:51:12
[Download RAW message or body]

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

On Wednesday 27 August 2003 12:12, Andras Mantia wrote:
> CVS commit by amantia:
>
> Delayed update of structure and attribute tree. Update only if the user
> hasn't pressed any key for xxx ms.
>
>
>   M +6 -6      quanta.kdevelop   1.66
>   M +15 -6     quanta/quanta.cpp   1.325 [POSSIBLY UNSAFE: printf]
...
> +  linenumber.sprintf(i18n("Line: %d Col: %d"),cursorLine+1,cursorCol+1);

You may wish to use
	linenumber = i18n("Line: %1 Col: %2").arg(cursorLine+1).arg(cursorCol+1);
instead.

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/TJswN4pvrENfboIRAgmIAJ9Kivx2tEz9QlB93T6VgDSZPwcVxgCdFRWF
84PDPaNVxj/wvXE6M64vE+w=
=si0k
-----END PGP SIGNATURE-----

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

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