X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fdvi%2Fmdvi-lib%2Fpagesel.c;h=5a153955fa852fe4e168db0c2a38156da0133f5e;hb=ab0edaffd2f1790ec8ac7ac17f90e0a8007b92cd;hp=b24157c4635923a45fa08e55720a77c9d7ea5261;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/backend/dvi/mdvi-lib/pagesel.c b/backend/dvi/mdvi-lib/pagesel.c index b24157c4..5a153955 100644 --- a/backend/dvi/mdvi-lib/pagesel.c +++ b/backend/dvi/mdvi-lib/pagesel.c @@ -14,9 +14,10 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include #include #include @@ -208,7 +209,7 @@ DviPageSpec *mdvi_parse_page_spec(const char *format) range = mdvi_parse_range(format, NULL, &count, &ptr); if(ptr == format) { if(range) mdvi_free(range); - error(_("invalid page specification `%s'\n"), format); + mdvi_error(_("invalid page specification `%s'\n"), format); return NULL; } } else @@ -228,7 +229,7 @@ DviPageSpec *mdvi_parse_page_spec(const char *format) if(*ptr != '.') { if(*ptr) - warning(_("garbage after DVI page specification ignored\n")); + mdvi_warning(_("garbage after DVI page specification ignored\n")); return spec; } @@ -256,9 +257,9 @@ DviPageSpec *mdvi_parse_page_spec(const char *format) } if(i > 10) - warning(_("more than 10 counters in page specification\n")); + mdvi_warning(_("more than 10 counters in page specification\n")); else if(*ptr) - warning(_("garbage after TeX page specification ignored\n")); + mdvi_warning(_("garbage after TeX page specification ignored\n")); return spec; }