mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
wrlib: fix RCreateImageFromDrawable error log msg
This patch is fixing the name of the function from the log message.
This commit is contained in:
committed by
Carlos R. Mafra
parent
39e1398257
commit
fe177c6966
@@ -155,7 +155,7 @@ RImage *RCreateImageFromDrawable(RContext * context, Drawable drawable, Pixmap m
|
|||||||
assert(drawable != None);
|
assert(drawable != None);
|
||||||
|
|
||||||
if (!XGetGeometry(context->dpy, drawable, &baz, &foo, &foo, &w, &h, &bar, &bar)) {
|
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 RCreateImageFromDrawable\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
pimg = XGetImage(context->dpy, drawable, 0, 0, w, h, AllPlanes, ZPixmap);
|
pimg = XGetImage(context->dpy, drawable, 0, 0, w, h, AllPlanes, ZPixmap);
|
||||||
|
|||||||
Reference in New Issue
Block a user