summaryrefslogtreecommitdiff
path: root/app/bin/smalldlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/smalldlg.c')
-rw-r--r--app/bin/smalldlg.c10
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,