Muthiah Annamalai wrote:
I have made a rewrite of the filename_add_extension() in src/dialogs/export.cpp based on the FIXME comment there. I have test script and the patch attached.
Thank you for your patch to try to find a solution for the fixme. I think it is very praiseworthy to solve fixme's! (note that this fixme is very very young, I wrote the function and the fixme comment a week ago!!)
I'll look into this later today. But let me say that I meant the fixme comment different from how I think you interpreted it. I meant to say that there has to be a library function already present that ensures that the filename ends with a certain extension. The real fix for my fixme comment would be to find that function and replace calls to filename_add_extension() with calls to the lib-function.
Regards, Johan