← Back to team overview

kicad-developers team mailing list archive

Re: Patch: fix string formatting in ThrowIOError

 

Le 10/12/2015 05:59, Henner Zeller a écrit :
> Hi,
> Since the current implementation of formatting IO errors is not
> working platform independently (see mail thread 'Bug: ThrowIOError
> with GetChars() formatting parameter'), replaced these calls
> with the working wxString::Format().
> 
> Commit message:
>    o Replace questionable wxString::PrintfV() call (which doesn't work
>      reliably on different platforms) with wxString::Format()
>    o Extra win: due to use now of the THROW_IO_ERROR() macro, error messages
>      contain line numbers.
> 
> Patch:
> https://github.com/KiCad/kicad-source-mirror/compare/master...hzeller:avoid-wxstring-printfv.diff
> 
> Cheers,
>   Henner.
> 

Committed. Thanks.


-- 
Jean-Pierre CHARRAS


References