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.139 by root, Mon Aug 14 03:04:17 2006 UTC vs.
Revision 1.140 by root, Mon Aug 14 03:41:25 2006 UTC

154 rect.width = (rect.width + PANGO_SCALE - 1) / PANGO_SCALE; 154 rect.width = (rect.width + PANGO_SCALE - 1) / PANGO_SCALE;
155 rect.height = (rect.height + PANGO_SCALE - 1) / PANGO_SCALE; 155 rect.height = (rect.height + PANGO_SCALE - 1) / PANGO_SCALE;
156 156
157 if (!rect.width) rect.width = 1; 157 if (!rect.width) rect.width = 1;
158 if (!rect.height) rect.height = 1; 158 if (!rect.height) rect.height = 1;
159
160 rect.width = (rect.width + 3) & ~3;
161 159
162 *w = rect.width; 160 *w = rect.width;
163 *h = rect.height; 161 *h = rect.height;
164} 162}
165 163

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines