summaryrefslogtreecommitdiff
path: root/xmore.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmore.c')
-rw-r--r--xmore.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/xmore.c b/xmore.c
index b9812b3..78a63d4 100644
--- a/xmore.c
+++ b/xmore.c
@@ -164,11 +164,11 @@ printOKXtProc(Widget w, XtPointer client_data, XtPointer callData)
* because it is used for the job title AND the page headers... */
sprintf(printJobNameBuffer, "XMore print job %s", viewFileName);
- DoPrint(ProgramName,
- textsource, toplevel,
- pdcs->pdpy, pdcs->pcontext, printshellDestroyXtProc,
- printJobNameBuffer,
- pdcs->printToFile?pdcs->printToFileName:NULL);
+ DoPrintTextSource(ProgramName,
+ textsource, toplevel,
+ pdcs->pdpy, pdcs->pcontext, printshellDestroyXtProc,
+ printJobNameBuffer,
+ pdcs->printToFile?pdcs->printToFileName:NULL);
XtPopdown(printdialog_shell);
}
@@ -247,6 +247,7 @@ int main( int argc, char *argv[] )
ProgramName = argv[0];
+ XtSetLanguageProc(NULL, NULL, NULL);
toplevel = XtOpenApplication(&app, "XMore",
options, XtNumber(options),
&argc, argv, fallback_resources,