> Fredrik Modèen <fredrik@xxxxxxxxx> wrote: >> >> 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. > > But you know that translators aren't fixed, right? You can add and > remove translators as you choose, so while this solution would have > worked in your particular setup (or a clean Haiku image), it's still a > pretty much brain dead solution. Sorry for being harsh, but I'm really > a bit appalled. Yes I know. I Didn't thought about how to handle if a translator didn't exist. I thought those things was already taken care of in the original code, but perhaps one should,'t taken things for given :) and now I know a new word "appalled" Perhaps a error message should be shown stating that a translator for the given format don't exist before trying to make a ScreenshotWindow? > > Bye, > Axel. > > > -- MVH Fredrik Modèen