if ((*p != '+') && (*p != '-'))
{
c=(int) ((unsigned char) *q);
- if ((c == 215) || (*q == 'x') || (*q == 'X') || (*q == '\0'))
+ if ((c == 215) || (*q == 'x') || (*q == 'X') || (*q == ':') ||
+ (*q == '\0'))
{
/*
Parse width.
if ((*p != '+') && (*p != '-'))
{
c=(int) ((unsigned char) *p);
- if ((c == 215) || (*p == 'x') || (*p == 'X'))
+ if ((c == 215) || (*p == 'x') || (*p == 'X') || (*p == ':'))
{
p++;
if ((*p != '+') && (*p != '-'))
if (LocaleNCompare(p,"0x",2) == 0)
(void) strtol(p,&q,10);
c=(int) ((unsigned char) *q);
- if ((c == 215) || (*q == 'x') || (*q == 'X') || (*q == ',') ||
- (*q == '/') || (*q == ':') || (*q =='\0'))
+ if ((c == 215) || (*q == 'x') || (*q == 'X') || (*q == ':') ||
+ (*q == ',') || (*q == '/') || (*q =='\0'))
{
/*
Parse rho.
}
q=p;
c=(int) ((unsigned char) *p);
- if ((c == 215) || (*p == 'x') || (*p == 'X') || (*p == ',') || (*p == '/') ||
- (*p == ':'))
+ if ((c == 215) || (*p == 'x') || (*p == 'X') || (*p == ':') || (*p == ',') ||
+ (*p == '/'))
{
/*
Parse sigma.
while (isspace((int) ((unsigned char) *p)) != 0)
p++;
c=(int) ((unsigned char) *q);
- if (((c != 215) && (*q != 'x') && (*q != 'X')) || ((*p != '+') &&
- (*p != '-')))
+ if (((c != 215) && (*q != 'x') && (*q != 'X') && (*q != ':')) ||
+ ((*p != '+') && (*p != '-')))
{
q=p;
value=StringToDouble(p,&p);
% the given geometry specification.
%
*/
-
MagickExport MagickStatusType ParseMetaGeometry(const char *geometry,ssize_t *x,
ssize_t *y,size_t *width,size_t *height)
{