mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
Don't pretend that NSGlyph * and unichar * are the same.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17078 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bcc6466b77
commit
b27f33e6a8
2 changed files with 8 additions and 1 deletions
|
@ -366,8 +366,9 @@ static BOOL XGInitAtoms(Display *dpy)
|
|||
unsigned int size = 1;
|
||||
unsigned char c = 0;
|
||||
unsigned char *dst = &c;
|
||||
unichar ch = glyph;
|
||||
|
||||
GSFromUnicode(&dst, &size, (unichar*)&glyph, 1,
|
||||
GSFromUnicode(&dst, &size, &ch, 1,
|
||||
mostCompatibleStringEncoding, 0, 0);
|
||||
index = c;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue