46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
--- XLess.ad
|
|
+++ XLess.ad
|
|
@@ -1,8 +1,8 @@
|
|
!$Header: /usr/sww/share/src/X11R6/local/applications/xless-1.5/RCS/XLess.ad,v 1.8 1994/06/01 00:46:29 dglo Exp $
|
|
|
|
XLess*standardFont: fixed
|
|
-XLess*textFont: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
|
|
-XLess*labelFont: -adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-1
|
|
+XLess*textFont: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-*
|
|
+XLess*labelFont: -adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-*
|
|
XLess*buttonFont: -adobe-new century schoolbook-medium-r-normal--12-120-75-75-p-*-iso8859-1
|
|
XLess*standardCur: left_ptr
|
|
XLess*dialogCur: center_ptr
|
|
--- main.c
|
|
+++ main.c
|
|
@@ -22,6 +22,7 @@
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <locale.h>
|
|
|
|
#include <X11/X.h>
|
|
#include <X11/Xos.h>
|
|
@@ -215,6 +216,8 @@
|
|
}
|
|
#endif
|
|
|
|
+ setlocale(LC_CTYPE, "");
|
|
+
|
|
/* save program name */
|
|
if ((progname = strrchr(argv[0], '/')))
|
|
progname++;
|
|
--- xless.h
|
|
+++ xless.h
|
|
@@ -84,8 +84,8 @@
|
|
#define STANDARDCUR "left_ptr"
|
|
|
|
#define STANDARDFONT "fixed"
|
|
-#define TEXTFONT "-adobe-courier-medium-r-normal--12-120-75-75-m-*-iso8859-1"
|
|
-#define LABELFONT "-adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-1"
|
|
+#define TEXTFONT "-adobe-courier-medium-r-normal--12-120-75-75-m-*-iso8859-*"
|
|
+#define LABELFONT "-adobe-times-medium-r-normal--12-120-75-75-p-*-iso8859-*"
|
|
#define BUTTONFONT "-adobe-new century schoolbook-medium-r-normal--12-120-75-75-p-*-iso8859-1"
|
|
|
|
/* Typedefs */
|