mirror of https://github.com/GNOME/gimp.git
make buffer large enough to hold all polygon data.
2005-07-25 Maurits Rijk <m.rijk@chello.nl> * plug-ins/imagemap/imap_csim.y: make buffer large enough to hold all polygon data. * plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
This commit is contained in:
parent
c1c876a963
commit
4c28829dc5
|
@ -1,3 +1,10 @@
|
|||
2005-07-25 Maurits Rijk <m.rijk@chello.nl>
|
||||
|
||||
* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
|
||||
all polygon data.
|
||||
|
||||
* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
|
||||
|
||||
2005-07-25 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Some DND fixes / cleanup:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Generates clickable image maps.
|
||||
*
|
||||
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl
|
||||
* Copyright (C) 1998-2005 Maurits Rijk lpeek.mrijk@consunet.nl
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -47,9 +47,9 @@ static MapInfo_t *_map_info;
|
|||
%}
|
||||
|
||||
%union {
|
||||
int val;
|
||||
double value;
|
||||
char id[256];
|
||||
int val;
|
||||
double value;
|
||||
char id[1024]; /* Large enough to hold all polygon points! */
|
||||
}
|
||||
|
||||
%token<val> IMG SRC WIDTH HEIGHT BORDER USEMAP
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
|||
/* A Bison parser, made by GNU Bison 1.875d. */
|
||||
/* A Bison parser, made by GNU Bison 2.0. */
|
||||
|
||||
/* Skeleton parser for Yacc-like parsing with Bison,
|
||||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
@ -90,11 +90,11 @@
|
|||
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
||||
#line 49 "imap_csim.y"
|
||||
typedef union YYSTYPE {
|
||||
int val;
|
||||
double value;
|
||||
char id[256];
|
||||
int val;
|
||||
double value;
|
||||
char id[1024]; /* Large enough to hold all polygon points! */
|
||||
} YYSTYPE;
|
||||
/* Line 1285 of yacc.c. */
|
||||
/* Line 1318 of yacc.c. */
|
||||
#line 99 "y.tab.h"
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
|
|
Loading…
Reference in New Issue