On Fri, Jan 28, 2011 at 12:21 AM, Dick Hollenbeck <d...@softplc.com> wrote:
> Any "complex" string that is capable of having either whitespace or quotes
> in it should be wrapped using
>
> aFormatter->Quoted( CONV_TO_UTF8(blah) ).c_str(),

I'm working on this now. Should there be something like

if( strchr( quote_char, *wrapee ) )
      return quote_char;

in the for loop of OUTPUTFORMATTER::GetQuotedChar? Otherwise it seems
that a string with internal quotes is not wrapped in quotes.

marco

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to