winex11.drv: Link the windows JFIF format to the X image/jpeg format.

This commit is contained in:
Vincent Povirk 2009-06-19 13:54:33 -05:00 committed by Alexandre Julliard
parent e4663206be
commit 6259aeaacb
3 changed files with 4 additions and 0 deletions

View File

@ -293,6 +293,7 @@ static WINE_CLIPFORMAT ClipFormats[] =
/* Maps X properties to Windows formats */
static const WCHAR wszRichTextFormat[] = {'R','i','c','h',' ','T','e','x','t',' ','F','o','r','m','a','t',0};
static const WCHAR wszGIF[] = {'G','I','F',0};
static const WCHAR wszJFIF[] = {'J','F','I','F',0};
static const WCHAR wszPNG[] = {'P','N','G',0};
static const WCHAR wszHTMLFormat[] = {'H','T','M','L',' ','F','o','r','m','a','t',0};
static const struct
@ -304,6 +305,7 @@ static const struct
{ wszRichTextFormat, XATOM_text_rtf },
{ wszRichTextFormat, XATOM_text_richtext },
{ wszGIF, XATOM_image_gif },
{ wszJFIF, XATOM_image_jpeg },
{ wszPNG, XATOM_image_png },
{ wszHTMLFormat, XATOM_text_html },
};

View File

@ -635,6 +635,7 @@ enum x11drv_atoms
XATOM_XdndTypeList,
XATOM_WCF_DIB,
XATOM_image_gif,
XATOM_image_jpeg,
XATOM_image_png,
XATOM_text_html,
XATOM_text_plain,

View File

@ -172,6 +172,7 @@ static const char * const atom_names[NB_XATOMS - FIRST_XATOM] =
"XdndTypeList",
"WCF_DIB",
"image/gif",
"image/jpeg",
"image/png",
"text/html",
"text/plain",