summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_font.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-10-08 20:48:24 +0000
committerjsorg71 <jsorg71>2006-10-08 20:48:24 +0000
commitd3e361d09b54eb16fe85c41f38b0c62fad24599b (patch)
treebec603767cfc995e5d9592fc4800d28f57b80774 /xrdp/xrdp_font.c
parent3c3fb960dc3e8ca2af34942a7f4589bb1478d608 (diff)
downloadxrdp-proprietary-d3e361d09b54eb16fe85c41f38b0c62fad24599b.tar.gz
xrdp-proprietary-d3e361d09b54eb16fe85c41f38b0c62fad24599b.zip
added de, fr, and gb key layouts
Diffstat (limited to 'xrdp/xrdp_font.c')
-rw-r--r--xrdp/xrdp_font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_font.c b/xrdp/xrdp_font.c
index 67bf268a..9195d5c9 100644
--- a/xrdp/xrdp_font.c
+++ b/xrdp/xrdp_font.c
@@ -78,11 +78,11 @@ xrdp_font_create(struct xrdp_wm* wm)
self = (struct xrdp_font*)g_malloc(sizeof(struct xrdp_font), 1);
self->wm = wm;
make_stream(s);
- init_stream(s, 8192);
+ init_stream(s, 8192 * 2);
fd = g_file_open("Tahoma-10.fv1");
if (fd != -1)
{
- b = g_file_read(fd, s->data, 8192);
+ b = g_file_read(fd, s->data, 8192 * 2);
g_file_close(fd);
if (b > 0)
{