X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fdjvu%2Fdjvu-document.c;h=de85c1d4b30250a3755ddbdfd867693ae73f78c1;hb=31b40f7679ff2bf455f493e101d5cbf521bb0d12;hp=31fbd94bd5bbc6af16bbfb37e5d4c93565cf01da;hpb=ef262303183a13c3d166dd4873e74a78b38cee28;p=evince.git diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index 31fbd94b..de85c1d4 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -168,6 +168,10 @@ djvu_document_load (EvDocument *document, if (!doc) { g_free (filename); + g_set_error_literal (error, + EV_DOCUMENT_ERROR, + EV_DOCUMENT_ERROR_INVALID, + _("DJVU document has incorrect format")); return FALSE; } @@ -244,7 +248,7 @@ djvu_document_load (EvDocument *document, g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_EXIST, - _("The document is composed by several files. " + _("The document is composed of several files. " "One or more of such files cannot be accessed.")); return FALSE;