From 6ca75442d325ae8c398d2122289294dc0ee24d9d Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 23 Feb 2014 18:16:17 +0000 Subject: [PATCH] --- MagickCore/geometry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MagickCore/geometry.c b/MagickCore/geometry.c index 1da6e4652..9ae2849a4 100644 --- a/MagickCore/geometry.c +++ b/MagickCore/geometry.c @@ -357,7 +357,7 @@ MagickExport char *GetPageGeometry(const char *page_geometry) { "a2", "1191x1684" }, { "a3", "842x1191" }, { "a4", "595x842" }, - { "a4smaLL", "595x842" }, + { "a4small", "595x842" }, { "a5", "420x595" }, { "a6", "297x420" }, { "a7", "210x297" }, @@ -413,7 +413,7 @@ MagickExport char *GetPageGeometry(const char *page_geometry) { "ledger", "1224x792" }, { "legal", "612x1008" }, { "letter", "612x792" }, - { "lettersmaLL", "612x792" }, + { "lettersmall", "612x792" }, { "quarto", "610x780" }, { "statement", "396x612" }, { "tabloid", "792x1224" }, @@ -430,7 +430,7 @@ MagickExport char *GetPageGeometry(const char *page_geometry) (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",page_geometry); page=AcquireString(page_geometry); for (i=0; *PageSizes[i] != (char *) NULL; i++) - if (LocaleCompare(PageSizes[i][0],page) == 0) + if (LocaleNCompare(PageSizes[i][0],page,strlen(PageSizes[i][0])) == 0) { RectangleInfo geometry; -- 2.40.0