|
From: | Jason Rumney |
Subject: | Re: LGLYPH_SET_CODE |
Date: | Fri, 29 Aug 2008 19:26:57 +0800 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
Kenichi Handa wrote:
It is intended that VAL is not negative. That macro is called at four places, and except for one place, it is assured that VAL is never negative. The exception is in uniscribe_shape of w32uniscribe.c: LGLYPH_SET_CODE (lglyph, glyphs[j]); The type of glyphs[j] is "WORD" and I don't know if it's unsigned or not
WORD is defined as below in the Windows system headers: typedef unsigned short WORD; So I think it is safe.
[Prev in Thread] | Current Thread | [Next in Thread] |