WRaster: Made a few messages translatable

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2021-05-18 17:49:17 +01:00
1 parent 70f89fd9c5
commit e5f7ef23a6
5 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -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);