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

List:       kde-commits
Subject:    Re: kdebase/kscreensaver
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2003-01-12 23:55:25
[Download RAW message or body]

On Sun, Jan 12, 2003 at 01:45:37PM +0100, Dirk Mueller wrote:
> +    puts(i18n("Usage: %1 [-setup] [args]\n").arg(name).local8Bit());
> +    puts(i18n("Starts a random screen saver.\n").local8Bit());
> +    puts(i18n("Any arguments (except -setup) are passed on to the screen saver.\n").local8Bit());
> 
this will produce an empty line after each line ...
remember: fputs() does _not_ add a newline, while puts() _does_.

nitpick: local8Bit().data() ...
hmm, now i'm wondering, when .data() is necessary and when not ...

not to mention, that i would concat all the strings into one to save
code ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
[prev in list] [next in list] [prev in thread] [next in thread] 

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