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.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to