[Bug 28709] HelpNDoc crashes with builtin gdiplus

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 13 16:53:27 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28709

--- Comment #4 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2011-10-13 16:53:27 CDT ---
(In reply to comment #3)
> Which one(s) do you need to add it to?

I've added it to all where it wasn't present (see patch below). Do I need to
pinpoint the exact one?


diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 0e3848f..d359828 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -3277,7 +3277,7 @@ static const struct image_codec codecs[NUM_CODECS] = {
             /* FormatDescription */  jpeg_format,
             /* FilenameExtension */  jpeg_extension,
             /* MimeType */           jpeg_mimetype,
-            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin,
+            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin | ImageCodecFlagsEncoder,
             /* Version */            1,
             /* SigCount */           1,
             /* SigSize */            2,
@@ -3296,7 +3296,7 @@ static const struct image_codec codecs[NUM_CODECS] = {
             /* FormatDescription */  gif_format,
             /* FilenameExtension */  gif_extension,
             /* MimeType */           gif_mimetype,
-            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin,
+            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin | ImageCodecFlagsEncoder,
             /* Version */            1,
             /* SigCount */           1,
             /* SigSize */            4,
@@ -3334,7 +3334,7 @@ static const struct image_codec codecs[NUM_CODECS] = {
             /* FormatDescription */  emf_format,
             /* FilenameExtension */  emf_extension,
             /* MimeType */           emf_mimetype,
-            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportVector | ImageCodecFlagsBuiltin,
+            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportVector | ImageCodecFlagsBuiltin | ImageCodecFlagsEncoder,
             /* Version */            1,
             /* SigCount */           1,
             /* SigSize */            4,
@@ -3353,7 +3353,7 @@ static const struct image_codec codecs[NUM_CODECS] = {
             /* FormatDescription */  wmf_format,
             /* FilenameExtension */  wmf_extension,
             /* MimeType */           wmf_mimetype,
-            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportVector | ImageCodecFlagsBuiltin,
+            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportVector | ImageCodecFlagsBuiltin | ImageCodecFlagsEncoder,
             /* Version */            1,
             /* SigCount */           1,
             /* SigSize */            2,
@@ -3391,7 +3391,7 @@ static const struct image_codec codecs[NUM_CODECS] = {
             /* FormatDescription */  ico_format,
             /* FilenameExtension */  ico_extension,
             /* MimeType */           ico_mimetype,
-            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin,
+            /* Flags */              ImageCodecFlagsDecoder |
ImageCodecFlagsSupportBitmap | ImageCodecFlagsBuiltin | ImageCodecFlagsEncoder,
             /* Version */            1,
             /* SigCount */           1,
             /* SigSize */            4,

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list