diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/xcalc/makefile | 2 | ||||
-rw-r--r-- | apps/xcalc/xcalc.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/xcalc/makefile b/apps/xcalc/makefile index 5288e202d..905eceb4b 100644 --- a/apps/xcalc/makefile +++ b/apps/xcalc/makefile @@ -3,7 +3,6 @@ WINAPP = xcalc DEFINES += XT_NO_SM IEEE INCLUDELIBFILES = \ - $(MHMAKECONF)\libXt\src\$(OBJDIR)\libXt.lib \ $(MHMAKECONF)\libX11\src\xkb\$(OBJDIR)\libxkb.lib \ $(MHMAKECONF)\libX11\src\xcms\$(OBJDIR)\libxcms.lib \ $(MHMAKECONF)\libx11\src\xlibi18n\$(OBJDIR)\libi18n.lib \ @@ -17,6 +16,7 @@ INCLUDELIBFILES = \ $(MHMAKECONF)\libxpm\src\$(OBJDIR)\libxpm.lib \ $(MHMAKECONF)\libxau\$(OBJDIR)\libxau.lib \ $(MHMAKECONF)\libXaw\src\$(OBJDIR)\libXaw.lib \ + $(MHMAKECONF)\libXt\src\$(OBJDIR)\libXt.lib \ $(MHMAKECONF)\libXext\src\$(OBJDIR)\libXext.lib \ $(MHMAKECONF)\libXmu\src\$(OBJDIR)\libXmu.lib \ $(MHMAKECONF)\libX11\src\$(OBJDIR)\libX11.lib diff --git a/apps/xcalc/xcalc.c b/apps/xcalc/xcalc.c index 39547377c..d51034156 100644 --- a/apps/xcalc/xcalc.c +++ b/apps/xcalc/xcalc.c @@ -117,6 +117,8 @@ main(int argc, char **argv) XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL); + XawInitializeWidgetSet(); // Needed to have the string to bitmap conversion function initialised + toplevel = XtAppInitialize(&xtcontext, "XCalc", Options, XtNumber(Options), &argc, argv, NULL, NULL, 0); if (argc != 1) Syntax(argc, argv); |