RICHED20: fix TABs in RTF writer

Krzysztof Foltman wdev at foltman.com
Sun Jun 12 04:32:18 CDT 2005


ChangeLog:
  * emit \tx for user-defined TABs

Krzysztof
-------------- next part --------------
Index: writer.c
===================================================================
RCS file: /home/wine/wine/dlls/riched20/writer.c,v
retrieving revision 1.5
diff -u -r1.5 writer.c
--- writer.c	24 Mar 2005 15:09:05 -0000	1.5
+++ writer.c	12 Jun 2005 09:28:38 -0000
@@ -379,6 +379,7 @@
       }
       if (fmt->rgxTabs[i] >> 28 <= 5)
         strcat(props, leader[fmt->rgxTabs[i] >> 28]);
+      sprintf(props+strlen(props), "\\tx%d", fmt->rgxTabs[i]&0x00FFFFFF);
     }
   }
     


More information about the wine-patches mailing list