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

Re: [TSVN] Saving log messages

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-05 20:14:24 CET

Will Dean wrote:
> At 19:03 05/01/2005 +0100, you wrote:
>
>> Are you sure? There's a
>> str.Trim(_T(" "));
>> already in the code (HistoryCombo.cpp:77) which should do exactly
>> that. Of course, it only trims spaces, not all whitespaces...
>
>
>
> Actually, I believe if you call Trim with no parameters at all, it does
> a full whitespace trim. Not 100% sure, though.

I know. But I wanted to _not_ trim all whitespaces. Only real spaces.
After all, you never know if someone wants a newline at the end of a log
message (the default whitespaces for Trim() are c=0x20 or 0x09<=c<=0x0D).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 5 20:15:02 2005

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.