X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Faboutprefs.C;h=9997efa7cd59b2210218a378b4f014824a4fc2af;hb=eecf057a9d6b8c8cffc7d0001bff89bc9cac7b05;hp=f70e3fbd6d53c31fa6c0804328132a060d6146ee;hpb=26fe9e12d6d42ae8f7087ac7f08242769d77a84a;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/aboutprefs.C b/cinelerra-5.1/cinelerra/aboutprefs.C index f70e3fbd..9997efa7 100644 --- a/cinelerra-5.1/cinelerra/aboutprefs.C +++ b/cinelerra-5.1/cinelerra/aboutprefs.C @@ -29,7 +29,10 @@ #include "vframe.h" #include "versioninfo.h" - +#ifndef COMPILEDATE +#define COMPILEDATE "built: " __DATE__ " " __TIME__ +#endif +const char *AboutPrefs::build_timestamp = COMPILEDATE; AboutPrefs::AboutPrefs(MWindow *mwindow, PreferencesWindow *pwindow) : PreferencesDialog(mwindow, pwindow) @@ -96,7 +99,7 @@ void AboutPrefs::create_objects() about.append(new BC_ListBoxItem(msg)); } BC_ListBox *listbox; - add_subwindow(listbox = new BC_ListBox(x, y, 300, 280, + add_subwindow(listbox = new BC_ListBox(x, y, 450, 280, LISTBOX_TEXT, &about, 0, 0, 1)); y += listbox->get_h() + get_text_height(LARGEFONT) + 10; } @@ -114,19 +117,16 @@ void AboutPrefs::create_objects() "This program is free software; you can redistribute it and/or modify it under the terms\n" "of the GNU General Public License as published by the Free Software Foundation; either version\n" "2 of the License, or (at your option) any later version.\n" -"\n" +" This software uses libraries from the FFmpeg project under the LGPLv2.1.\n" "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;\n" "without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n" "PURPOSE. See the GNU General Public License for more details.\n")); draw_text(x, y, license3); y += get_text_height(MEDIUMFONT, license3); -#ifndef COMPILEDATE -#define COMPILEDATE "built: " __DATE__ " " __TIME__ -#endif - draw_text(x, y, COMPILEDATE); + draw_text(x, y, build_timestamp); #if defined(REPOMAINTXT) - y += get_text_height(MEDIUMFONT, COMPILEDATE); + y += get_text_height(MEDIUMFONT, build_timestamp); draw_text(x, y, REPOMAINTXT); #endif