X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Faboutprefs.C;h=0d2d76ea8b7317840bf44a95f9553870c86415f4;hb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;hp=3f3a0abe7f53289674b654e9c32f3247ae32999e;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/aboutprefs.C b/cinelerra-5.1/cinelerra/aboutprefs.C index 3f3a0abe..0d2d76ea 100644 --- a/cinelerra-5.1/cinelerra/aboutprefs.C +++ b/cinelerra-5.1/cinelerra/aboutprefs.C @@ -21,7 +21,7 @@ #include "aboutprefs.h" #include "bcsignals.h" -#include "file.inc" +#include "file.h" #include "language.h" #include "libzmpeg3.h" #include "mwindow.h" @@ -71,18 +71,10 @@ void AboutPrefs::create_objects() ); y += get_text_height(MEDIUMFONT) * 3; -// char versions[BCTEXTLEN]; -// sprintf(versions, -// _("Libmpeg3 version %d.%d.%d\n"), -// mpeg3_major(), -// mpeg3_minor(), -// mpeg3_release()); -// draw_text(x, y, versions); - - char exe_path[BCTEXTLEN], msg_path[BCTEXTLEN]; - get_exe_path(exe_path); - snprintf(msg_path, sizeof(msg_path), "%s/msg.txt", exe_path); + const char *cfg_path = File::get_cindat_path(); + char msg_path[BCTEXTLEN]; + snprintf(msg_path, sizeof(msg_path), "%s/msg.txt", cfg_path); FILE *fp = fopen(msg_path, "r"); if( fp ) { set_font(LARGEFONT);