Relative path handling broken for image conversion
If you try to convert dia file by command like "dia --export=y.png x.dia" and there are images with relative paths inside x.dia you will get error like "File ../misc/xxx.jpg not found". If you start GUI with "dia x.dia" it works perfectly.
It looks like somebody missed line dia_context_set_filename (ctx, infname); in do_convert(...) function.