increased the max length for the identifier prefix from 24 to 64 chars. I

2006-06-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: increased the max length for the
	identifier prefix from 24 to 64 chars. I have no idea if this
	violates any spec or produces identifiers too long for stone age C
	standards, but 24 did truncate the identifiers in the newly added
	edge and corner cursors.
This commit is contained in:
Michael Natterer 2006-06-16 17:38:01 +00:00 committed by Michael Natterer
parent 88dedcc424
commit 5e3b4891d3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2006-06-16 Michael Natterer <mitch@gimp.org>
* plug-ins/common/xbm.c: increased the max length for the
identifier prefix from 24 to 64 chars. I have no idea if this
violates any spec or produces identifiers too long for stone age C
standards, but 24 did truncate the identifiers in the newly added
edge and corner cursors.
2006-06-16 Michael Natterer <mitch@gimp.org>
Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and

View File

@ -61,7 +61,7 @@
/* C identifier prefix. */
#define DEFAULT_PREFIX "bitmap"
#define MAX_PREFIX 24
#define MAX_PREFIX 64
/* Whether or not to save as X10 bitmap. */
#define DEFAULT_X10_FORMAT FALSE