From b041343bcf05fdf5ce4234655c869251b3f8fafa Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Sun, 30 May 2004 22:44:01 +0000 Subject: Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=695 - Add print support to Xedit --- xmore.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'xmore.c') 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, -- cgit v1.2.3