Fixed crashes in 24 and 32bpp after introduction of hermeslib support

This commit is contained in:
dan committed 2001-02-26 00:43:44 +00:00
1 parent 64defd4d22
commit c720860ed3
11 files changed
+201 -191

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ RCreateImageFromDrawable(RContext *context, Drawable drawable, Pixmap mask)
if (!XGetGeometry(context->dpy, drawable, &baz, &foo, &foo,
&w, &h, &bar, &bar)) {
printf("wrlib:invalid window or pixmap passed to RCreateImageFromPixmap\n");
printf("wrlib: invalid window or pixmap passed to RCreateImageFromPixmap\n");
return NULL;
}
pimg = XGetImage(context->dpy, drawable, 0, 0, w, h, AllPlanes,