X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..087a9b2eaf10974c1b3025bf7d439c2371625e70:/disobedience/misc.c diff --git a/disobedience/misc.c b/disobedience/misc.c index c807a27..c26cb54 100644 --- a/disobedience/misc.c +++ b/disobedience/misc.c @@ -108,14 +108,14 @@ GdkPixbuf *find_image(const char *name) { if((n = TABLE_FIND(images, name, name)) >= 0) { /* Use the built-in copy */ if(!(pb = gdk_pixbuf_new_from_inline(-1, images[n].data, FALSE, &err))) { - error(0, "%s", err->message); + disorder_error(0, "%s", err->message); return 0; } } else { /* See if there's a copy on disk */ byte_xasprintf(&path, "%s/static/%s", pkgdatadir, name); if(!(pb = gdk_pixbuf_new_from_file(path, &err))) { - error(0, "%s", err->message); + disorder_error(0, "%s", err->message); return 0; } }