diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:20:03 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:20:03 +0200 |
| commit | b45d74b60dfb7e23911df6b0523890e42f711267 (patch) | |
| tree | 42bb5764b05bd3bc5bffadb55f4375e6dce8a521 /app/bin/smalldlg.c | |
| parent | 6c1a798b0302034a7fdcaf93b8f014e2e458c2a0 (diff) | |
| parent | 63ec5715054be18ac4db5675e067b41c955d03b9 (diff) | |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/smalldlg.c')
| -rw-r--r-- | app/bin/smalldlg.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/bin/smalldlg.c b/app/bin/smalldlg.c index 1dde15e..8a333cf 100644 --- a/app/bin/smalldlg.c +++ b/app/bin/smalldlg.c @@ -70,7 +70,9 @@ static void CreateTipW( void ) char * cp; tipW = ParamCreateDialog( &tipPG, MakeWindowTitle(_("Tip of the Day")), NULL, - NULL, wHide, FALSE, NULL, F_RESIZE|F_CENTER|PD_F_ALT_CANCELLABEL, NULL ); + NULL, ParamCancel_Current, FALSE, NULL, + F_RESIZE|F_CENTER|PD_F_ALT_CANCELLABEL, + NULL ); /* open the tip file */ MakeFullpath(&filename, libDir, sTipF, NULL); @@ -180,7 +182,7 @@ void ShowTip( void * flagsVP ) /*--------------------------------------------------------------------*/ -#include "bitmaps/xtc.xpm" +#include "bitmaps/xtc.image1" static paramTextData_t aboutTextData = { 70, 10 }; @@ -205,10 +207,10 @@ void CreateAboutW(void *ptr) // char *copyright = sAboutProd; if (!aboutW) { - aboutPLs[I_ABOUTDRAW].winData = wIconCreatePixMap(xtc_xpm); + aboutPLs[I_ABOUTDRAW].winData = wIconCreatePixMap(xtc_image1); ParamRegister(&aboutPG); aboutW = ParamCreateDialog(&aboutPG, MakeWindowTitle(_("About")), NULL, NULL, - wHide, FALSE, NULL, F_TOP | F_CENTER| PD_F_ALT_CANCELLABEL, NULL); + ParamCancel_Current, FALSE, NULL, F_TOP | F_CENTER| PD_F_ALT_CANCELLABEL, NULL); ParamLoadMessage(&aboutPG, I_ABOUTVERSION, sAboutProd); wTextAppend(COPYRIGHT_T, DESCRIPTION); wTextAppend(COPYRIGHT_T, |
