← Back to team overview

kicad-developers team mailing list archive

Empty if body in PGM_BASE::initPgm

 

Near the end there is:

    bool succes = SetLanguage( true );

    if( !succes )
    {
    }

Was something supposed to be done here (like a warning) or it's just
a relic (the warning was removed but the check remained)?

I'd actually expected a warning from g++ for that...

As an aside... why is there all that logic for language choosing? isn't
that supposed to be done by wx from the OS environment or is
yet-another-wx-broken-piece so that we need to do it by hand? (qt is
guilty too on that... it uses the wrong environment variables to choose
the string catalog)

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups