[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Resource changes in Tortoise.pot

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Wed, 09 Dec 2009 04:11:42 +0100

Stefan Küng <tortoisesvn_at_gmail.com
<mailto:tortoisesvn_at_gmail.com?Subject=Re:%20Resource%20changes%20in%20Tortoise.pot>>
wrote on Tue, 08 Dec 2009 18:46:40:
>
> On 08.12.2009 12:21, Lübbe Onken wrote:
> ///> Format("%s", [ansistring]) -> fine/
> /> Format("%s", [widestring]) -> junk /
> /> WideFormat("%s", [ansistring]) -> fine /
> /> WideFormat("%s", [widestring]) -> fine /
> /> /
> /> Look mum, no capital "%s" :) /
>
> Look mum, garbage when using "Format" with a wide string :)
>
I didn't do anything. Honestly, mum!
>
> btw: I could easily write a format function that wouldn't need those
> capital S specifiers. But then it wouldn't be compatible with C anymore,
> only with C++. So now you know why we have the capital S in those
> functions :)
>
I'm not particular happy with the current uppercase
'S' solution. If it causes too much trouble, the strings
in question can be converted explicitly before going
into the format routines (only 5 or so places in total).

But since we are months away from the 1.7 release,
we can certainly afford this as a "test balloon".

-- Stefan^2.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2428726

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-09 04:12:14 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.