Commit in reactos/lib/richedit on MAIN
charlist.c-241.3 -> 1.4
charlist.h-11.1 -> 1.2
richedit.c+2-11.5 -> 1.6
+2-26
3 modified files
Sync to Wine-20040813:
Mike McCormack <mike@codeweavers.com>
- Remove dead code.
Jacek Caban<jack@itma.pwr.wroc.pl>
- Added EM_SCROLLCARET definition in include/richedit.h and handling in
  WindowProc.

reactos/lib/richedit
charlist.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- charlist.c	22 Sep 2003 06:11:48 -0000	1.3
+++ charlist.c	14 Aug 2004 20:05:16 -0000	1.4
@@ -56,29 +56,6 @@
     pCharList->nCount++;
 }
 
-void CHARLIST_Push( CHARLIST* pCharList, char myChar)
-{
-    CHARLISTENTRY* pNewEntry = malloc(sizeof(CHARLISTENTRY));
-
-    TRACE("\n");
-
-    pNewEntry->myChar = myChar;
-
-    if(pCharList->pHead == NULL)
-    {
-         pCharList->pHead = pCharList->pTail = pNewEntry;
-         pNewEntry->pNext = NULL;
-
-    }
-    else
-    {
-         pNewEntry->pNext = pCharList->pHead;
-         pCharList->pHead = pNewEntry;
-    }
-
-    pCharList->nCount++;
-}
-
 char CHARLIST_Dequeue(CHARLIST* pCharList)
 {
     CHARLISTENTRY* pCurrent;
@@ -151,4 +128,3 @@
 
    return 0;
 }
-

reactos/lib/richedit
charlist.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- charlist.h	31 Aug 2003 21:33:32 -0000	1.1
+++ charlist.h	14 Aug 2004 20:05:16 -0000	1.2
@@ -36,7 +36,6 @@
 
 
 void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar);
-void CHARLIST_Push( CHARLIST* pCharList, char myChar);
 char CHARLIST_Dequeue(CHARLIST* pCharList);
 int CHARLIST_GetNbItems(CHARLIST* pCharList);
 void CHARLIST_FreeList(CHARLIST* pCharList);

reactos/lib/richedit
richedit.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- richedit.c	8 May 2004 13:41:00 -0000	1.5
+++ richedit.c	14 Aug 2004 20:05:16 -0000	1.6
@@ -576,8 +576,9 @@
             TRACE_EDIT_MSG32("case EM_SCROLL Passed to edit control");
             return CallWindowProcA(lpfnEditWndProc, hwnd, uMsg, wParam, lParam);
      case EM_SCROLLCARET:
+     case WM_USER+49:  /* EM_SCROLLCARET too */
             TRACE_EDIT_MSG32("EM_SCROLLCARET Passed to edit control");
-            return CallWindowProcA(lpfnEditWndProc, hwnd, uMsg, wParam, lParam);
+            return CallWindowProcA(lpfnEditWndProc, hwnd, EM_SCROLLCARET, wParam, lParam);
      case EM_SETHANDLE:
             TRACE_EDIT_MSG32("EM_SETHANDLE Passed to edit control");
             return CallWindowProcA(lpfnEditWndProc, hwnd, uMsg, wParam, lParam);
CVSspam 0.2.8