ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.247 by root, Fri Dec 28 15:06:08 2007 UTC vs.
Revision 1.248 by root, Fri Dec 28 15:27:39 2007 UTC

1317 PPCODE: 1317 PPCODE:
1318{ 1318{
1319 int line, x; 1319 int line, x;
1320 1320
1321 pango_layout_index_to_line_x (self->pl, index, trailing, &line, &x); 1321 pango_layout_index_to_line_x (self->pl, index, trailing, &line, &x);
1322#if !PANGO_VERSION_CHECK (1, 17, 3) 1322#if !(defined (PANGO_VERSION_CHECK) && PANGO_VERSION_CHECK (1, 17, 3))
1323 /* pango bug: line is between 1..numlines, not 0..numlines-1 */ 1323 /* pango bug: line is between 1..numlines, not 0..numlines-1 */
1324 --line; 1324 --line;
1325#endif 1325#endif
1326 EXTEND (SP, 2); 1326 EXTEND (SP, 2);
1327 PUSHs (sv_2mortal (newSViv (line))); 1327 PUSHs (sv_2mortal (newSViv (line)));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines