From d1d5aac19c4bd961aa4e4a85e37b7f8a31992a24 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 23 Sep 2007 06:47:21 +0000 Subject: unicode --- xrdp/xrdp_types.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xrdp/xrdp_types.h') diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h index 3f4eab49..fbc519a6 100644 --- a/xrdp/xrdp_types.h +++ b/xrdp/xrdp_types.h @@ -314,7 +314,7 @@ struct xrdp_bitmap struct list* child_list; /* for edit */ int edit_pos; - int password_char; + twchar password_char; /* for button or combo */ int state; /* for button 0 = normal 1 = down */ /* for combo */ @@ -329,11 +329,13 @@ struct xrdp_bitmap int crc; }; +#define NUM_FONTS 4096 + /* font */ struct xrdp_font { struct xrdp_wm* wm; - struct xrdp_font_char font_items[1024]; + struct xrdp_font_char font_items[NUM_FONTS]; int color; char name[32]; int size; -- cgit v1.2.3