RICHED20: Handle "generator" RTF destination
Phil Krylov
phil at newstar.rinet.ru
Mon Mar 14 10:13:04 CST 2005
ChangeLog:
Added "generator" RTF destination handling.
Patch:
Index: reader.c
===================================================================
RCS file: /home/wine/wine/dlls/riched20/reader.c,v
retrieving revision 1.3
diff -p -u -r1.3 reader.c
--- reader.c 11 Mar 2005 10:24:56 -0000 1.3
+++ reader.c 14 Mar 2005 16:01:21 -0000
@@ -2845,6 +2845,7 @@ static RTFKey rtfKey[] =
{ rtfDestination, rtfStyleSheet, "stylesheet", 0 },
{ rtfDestination, rtfKeyCode, "keycode", 0 },
{ rtfDestination, rtfRevisionTbl, "revtbl", 0 },
+ { rtfDestination, rtfGenerator, "generator", 0 },
{ rtfDestination, rtfInfo, "info", 0 },
{ rtfDestination, rtfITitle, "title", 0 },
{ rtfDestination, rtfISubject, "subject", 0 },
@@ -3667,6 +3668,7 @@ Destination (RTF_Info *info)
switch (info->rtfMinor)
{
+ case rtfGenerator:
case rtfPict:
case rtfFNContSep:
case rtfFNContNotice:
Index: rtf.h
===================================================================
RCS file: /home/wine/wine/dlls/riched20/rtf.h,v
retrieving revision 1.1
diff -p -u -r1.1 rtf.h
--- rtf.h 7 Mar 2005 17:15:33 -0000 1.1
+++ rtf.h 14 Mar 2005 16:01:25 -0000
@@ -546,7 +546,8 @@
# define rtfIndexRange 71
# define rtfTOC 72
# define rtfNeXTGraphic 73
-# define rtfMaxDestination 74 /* highest dest + 1 */
+# define rtfGenerator 74
+# define rtfMaxDestination 75 /* highest dest + 1 */
# define rtfFontFamily 4
# define rtfFFNil 0
More information about the wine-patches
mailing list