> 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? It did work, or if I moved to the define before I tested it, don't remember. > 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. Right but to ask a question one need to know what to ask for :) > > You could have a look at src/bin/translate.cpp which more or less solves > the same thing a bit more intelligently and flexible. Will have a look there.. thanks. > > Bye, > Axel. > > > -- MVH Fredrik Modèen