Parent Directory | Revision Log | Patch
revision 1.5 by chqrlie, Fri May 13 10:05:24 2005 UTC | revision 1.6 by chqrlie, Fri Jul 8 09:30:44 2005 UTC | |
---|---|---|
# | Line 161 static inline void text_metrics(QEditScr | Line 161 static inline void text_metrics(QEditScr |
161 | /* XXX: only needed for backward compatibility */ | /* XXX: only needed for backward compatibility */ |
162 | static inline int glyph_width(QEditScreen *s, QEFont *font, int ch) | static inline int glyph_width(QEditScreen *s, QEFont *font, int ch) |
163 | { | { |
164 | int buf[1]; | unsigned int buf[1]; |
165 | QECharMetrics metrics; | QECharMetrics metrics; |
166 | buf[0] = ch; | buf[0] = ch; |
167 | text_metrics(s, font, &metrics, buf, 1); | text_metrics(s, font, &metrics, buf, 1); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |