Bad fix - Revert.

SVN revision: 15964
This commit is contained in:
Kim Woelders 2005-07-30 17:54:02 +00:00
parent 71f0085c6d
commit 9cffb23460
1 changed files with 3 additions and 6 deletions

View File

@ -77,12 +77,9 @@ imlib_render_str(ImlibImage * im, ImlibFont * fn, int drx, int dry,
ImlibImage *im2;
DATA32 *data, col;
int nx, ny, tmp;
int inset;
inset = imlib_font_query_inset(fn, text);
imlib_font_query_size(fn, text, &w, &h);
w += inset;
imlib_font_query_advance(fn, text, &w, &h);
data = malloc(w * h * sizeof(DATA32));
if (!data)
return;