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.165 by root, Fri Dec 8 14:59:54 2006 UTC vs.
Revision 1.166 by root, Fri Dec 8 15:07:08 2006 UTC

1094 XSRETURN_EMPTY; 1094 XSRETURN_EMPTY;
1095 1095
1096 if (!(lp = pango_layout_get_line (self->pl, line))) 1096 if (!(lp = pango_layout_get_line (self->pl, line)))
1097 XSRETURN_EMPTY; /* do better */ 1097 XSRETURN_EMPTY; /* do better */
1098 1098
1099 if (!pango_layout_line_x_to_index (lp, x * PANGO_SCALE, &index, &trailing)) 1099 pango_layout_line_x_to_index (lp, x * PANGO_SCALE, &index, &trailing);
1100 XSRETURN_EMPTY; /* do better */
1101 1100
1102 EXTEND (SP, 2); 1101 EXTEND (SP, 2);
1103 if (GIMME_V == G_SCALAR) 1102 if (GIMME_V == G_SCALAR)
1104 PUSHs (sv_2mortal (newSViv (index + trailing))); 1103 PUSHs (sv_2mortal (newSViv (index + trailing)));
1105 else 1104 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines