Fredrik Modèen <fredrik@xxxxxxxxx> wrote: > > Can you elaborate on that? It looks a bit like you have hard-coded > > values > > that depend on the runtime configuration of currently installed > > translators. > Yes I have and if there are a better way please tell me :) > I actually had int values (taken with a printf) instead of the define > values like B_PNG_FORMAT. You are really serious? How do you think this could have ever worked for real? Please, if you are unsure about something, don't commit completely broken stuff like this -- just ask how one could do it. No one would mind to answer a question like this. You could have a look at src/bin/translate.cpp which more or less solves the same thing a bit more intelligently and flexible. Bye, Axel.