ALT Linux Bugzilla
– Attachment 5326 Details for
Bug 26920
Cannot load SYMBOL font
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для решения проблем с запуском игры
xjewel.patch (text/plain), 1.23 KB, created by
Anton Bazhenov
on 2012-02-22 12:09:42 MSK
(
hide
)
Description:
Патч для решения проблем с запуском игры
Filename:
MIME Type:
Creator:
Anton Bazhenov
Created:
2012-02-22 12:09:42 MSK
Size:
1.23 KB
patch
obsolete
>--- xjewel-1.6.orig.old/help.c 1995-01-16 04:05:36.000000000 +0500 >+++ xjewel-1.6.orig/help.c 2012-02-22 11:04:46.320495097 +0600 >@@ -25,7 +25,7 @@ > GC SymbolGC; > XFontStruct *HeaderFont; > GC HeaderGC; >-#define SYMBOL_FONT "-adobe-symbol-*-*-*-*-18-*-*-*-*-*-adobe-*" >+#define SYMBOL_FONT "-*-*-*-*-*-*-18-*-*-*-*-*-*-*" > #define HEADER_FONT "-*-*-bold-r-*-*-24-*-*-*-p-*-iso8859-1" > #define HEADER_LOC_Y 100 > #define HELP_LEFT_X 100 > >--- xjewel-1.6.orig.old/jewel.c 1995-01-16 04:05:21.000000000 +0500 >+++ xjewel-1.6.orig/jewel.c 2012-02-22 11:01:44.247160726 +0600 >@@ -99,9 +99,12 @@ > XKeyEvent *xkev; > { > /* deal with key event */ >+ int key_buffer_size = 64; >+ char key_buffer[65]; >+ XComposeStatus compose_status; > KeySym key; > >- key=XLookupKeysym(xkev,xkev->state); >+ XLookupString(xkev, key_buffer, key_buffer_size, &key, &compose_status); > switch(JewelState) > { > case GAME: >--- xjewel-1.6.orig.old/xw.c 1995-01-16 04:04:17.000000000 +0500 >+++ xjewel-1.6.orig/xw.c 2012-02-22 10:50:21.310490199 +0600 >@@ -260,7 +260,7 @@ > xw_leave_event((XLeaveWindowEvent *) &xev); > case KeyRelease: > case KeyPress: >- xw_key_event((XKeyEvent *) &xev); >+ xw_key_event(&xev.xkey); > break; > case ButtonRelease: > case ButtonPress:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26920
: 5326