FIx variable typo

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13993 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2002-06-29 03:39:38 +00:00
parent 7e678b92bd
commit f8e903a80e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-06-28 Adam Fedor <fedor@gnu.org>
* Source/xlib/XGFont.m ([XGFontInfo -xCharStructForGlyph:glyph]):
Fix variable typo - using wrong index to glyph.
2002-06-24 Adam Fedor <fedor@gnu.org>
* Source/x11/XGServerWindow.m ([XGServer -windowdevice:]): Use

View file

@ -368,7 +368,7 @@ static BOOL XGInitAtoms(Display *dpy)
if (min1 == 0 && max1 == 0)
{
if (glyph >= min2 && glyph <= max2)
if (index >= min2 && index <= max2)
pc = &(font_info->per_char[index - min2]);
}
else