Wine-20050111 vendor drop
Added: vendor/wine/dlls/richedit/Wine-20050111/
Modified: vendor/wine/dlls/richedit/Wine-20050111/reader.c
Modified: vendor/wine/dlls/richedit/Wine-20050111/richedit.c
Modified: vendor/wine/dlls/richedit/Wine-20050111/rtf2text.h
Modified: vendor/wine/dlls/richedit/current/reader.c
Modified: vendor/wine/dlls/richedit/current/richedit.c
Modified: vendor/wine/dlls/richedit/current/rtf2text.h
_____
Copied: vendor/wine/dlls/richedit/Wine-20050111 (from rev 12927,
vendor/wine/dlls/richedit/current)
_____
Modified: vendor/wine/dlls/richedit/Wine-20050111/reader.c
--- vendor/wine/dlls/richedit/current/reader.c 2005-01-11 20:23:48 UTC
(rev 12927)
+++ vendor/wine/dlls/richedit/Wine-20050111/reader.c 2005-01-12
19:25:54 UTC (rev 12977)
@@ -98,9 +98,9 @@
static void ReadInfoGroup (RTF_Info *);
static void ReadPictGroup (RTF_Info *);
static void ReadObjGroup (RTF_Info *);
-static void LookupInit ();
+static void LookupInit (void);
static void Lookup (RTF_Info *, char *);
-static int Hash ();
+static int Hash (char*);
static void CharSetInit (RTF_Info *);
static void ReadCharSetMaps (RTF_Info *);
@@ -2451,7 +2451,7 @@
* Initialize lookup table hash values. Only need to do this once.
*/
-static void LookupInit()
+static void LookupInit(void)
{
static int inited = 0;
RTFKey *rp;
@@ -2546,8 +2546,7 @@
void RTFFree(char *p)
{
- if (p != (char *) NULL)
- HeapFree(RICHED32_hHeap, 0, p);
+ HeapFree(RICHED32_hHeap, 0, p);
}
_____
Modified: vendor/wine/dlls/richedit/Wine-20050111/richedit.c
--- vendor/wine/dlls/richedit/current/richedit.c 2005-01-11
20:23:48 UTC (rev 12927)
+++ vendor/wine/dlls/richedit/Wine-20050111/richedit.c 2005-01-12
19:25:54 UTC (rev 12977)
@@ -778,7 +778,7 @@
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
- wndClass.lpfnWndProc = (WNDPROC)RICHED32_WindowProc;
+ wndClass.lpfnWndProc = RICHED32_WindowProc;
wndClass.cbClsExtra = 0;
wndClass.cbWndExtra = RTFInfoOffset + sizeof(RTFControl_Info*);
wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW);
_____
Modified: vendor/wine/dlls/richedit/Wine-20050111/rtf2text.h
--- vendor/wine/dlls/richedit/current/rtf2text.h 2005-01-11
20:23:48 UTC (rev 12927)
+++ vendor/wine/dlls/richedit/Wine-20050111/rtf2text.h 2005-01-12
19:25:54 UTC (rev 12977)
@@ -1,2 +1,2 @@
-void WriterInit ();
-int BeginFile ();
+void WriterInit (RTF_Info *);
+int BeginFile (RTF_Info *);
_____
Modified: vendor/wine/dlls/richedit/current/reader.c
--- vendor/wine/dlls/richedit/current/reader.c 2005-01-12 19:25:27 UTC
(rev 12976)
+++ vendor/wine/dlls/richedit/current/reader.c 2005-01-12 19:25:54 UTC
(rev 12977)
@@ -98,9 +98,9 @@
static void ReadInfoGroup (RTF_Info *);
static void ReadPictGroup (RTF_Info *);
static void ReadObjGroup (RTF_Info *);
-static void LookupInit ();
+static void LookupInit (void);
static void Lookup (RTF_Info *, char *);
-static int Hash ();
+static int Hash (char*);
static void CharSetInit (RTF_Info *);
static void ReadCharSetMaps (RTF_Info *);
@@ -2451,7 +2451,7 @@
* Initialize lookup table hash values. Only need to do this once.
*/
-static void LookupInit()
+static void LookupInit(void)
{
static int inited = 0;
RTFKey *rp;
@@ -2546,8 +2546,7 @@
void RTFFree(char *p)
{
- if (p != (char *) NULL)
- HeapFree(RICHED32_hHeap, 0, p);
+ HeapFree(RICHED32_hHeap, 0, p);
}
_____
Modified: vendor/wine/dlls/richedit/current/richedit.c
--- vendor/wine/dlls/richedit/current/richedit.c 2005-01-12
19:25:27 UTC (rev 12976)
+++ vendor/wine/dlls/richedit/current/richedit.c 2005-01-12
19:25:54 UTC (rev 12977)
@@ -778,7 +778,7 @@
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
- wndClass.lpfnWndProc = (WNDPROC)RICHED32_WindowProc;
+ wndClass.lpfnWndProc = RICHED32_WindowProc;
wndClass.cbClsExtra = 0;
wndClass.cbWndExtra = RTFInfoOffset + sizeof(RTFControl_Info*);
wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW);
_____
Modified: vendor/wine/dlls/richedit/current/rtf2text.h
--- vendor/wine/dlls/richedit/current/rtf2text.h 2005-01-12
19:25:27 UTC (rev 12976)
+++ vendor/wine/dlls/richedit/current/rtf2text.h 2005-01-12
19:25:54 UTC (rev 12977)
@@ -1,2 +1,2 @@
-void WriterInit ();
-int BeginFile ();
+void WriterInit (RTF_Info *);
+int BeginFile (RTF_Info *);