mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
small fix
This commit is contained in:
@@ -49,13 +49,10 @@ int main(int argc, char **argv)
|
|||||||
img = RScaleImage(img, img->width*atof(argv[2]),
|
img = RScaleImage(img, img->width*atof(argv[2]),
|
||||||
img->height*atof(argv[2]));
|
img->height*atof(argv[2]));
|
||||||
}
|
}
|
||||||
{int i;
|
|
||||||
for (i=0; i<10;i++)
|
|
||||||
if (!RConvertImage(ctx, img, &pix)) {
|
if (!RConvertImage(ctx, img, &pix)) {
|
||||||
puts(RMessageForError(RErrorCode));
|
puts(RMessageForError(RErrorCode));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
printf("%ix%i\n", img->width, img->height);
|
printf("%ix%i\n", img->width, img->height);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user