mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
WRaster: Made a few messages translatable
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
70f89fd9c5
commit
e5f7ef23a6
@@ -157,7 +157,7 @@ RImage *RCreateImageFromDrawable(RContext * context, Drawable drawable, Pixmap m
|
||||
assert(drawable != None);
|
||||
|
||||
if (!XGetGeometry(context->dpy, drawable, &baz, &foo, &foo, &w, &h, &bar, &bar)) {
|
||||
printf("wrlib: invalid window or pixmap passed to RCreateImageFromDrawable\n");
|
||||
fprintf(stderr, _("wrlib: invalid window or pixmap passed to RCreateImageFromDrawable\n"));
|
||||
return NULL;
|
||||
}
|
||||
pimg = XGetImage(context->dpy, drawable, 0, 0, w, h, AllPlanes, ZPixmap);
|
||||
|
||||
Reference in New Issue
Block a user