cleanup patch

Andreas Mohr a.mohr at mailto.de
Fri Jun 22 15:48:59 CDT 2001


Hi all,

another cleanup patch.

Mainly spelling fixes.

Andreas Mohr
-------------- next part --------------
Determining best CVS host...
Using CVSROOT :pserver:cvs at winehq.tiepmiep.dk:/home/wine
Index: controls/scroll.c
===================================================================
RCS file: /home/wine/wine/controls/scroll.c,v
retrieving revision 1.39
diff -u -r1.39 scroll.c
--- controls/scroll.c	2001/05/31 21:30:06	1.39
+++ controls/scroll.c	2001/06/22 18:47:09
@@ -834,7 +834,7 @@
         (SCROLL_TrackingBar == nBar))
         SCROLL_DrawMovingThumb( hdc, &rect, vertical, arrowSize, thumbSize );
 
-    /* if scroll bar has focus, reposition the caret*/
+    /* if scroll bar has focus, reposition the caret */
     if(hwnd==GetFocus() && (nBar==SB_CTL))
     {
         if (!vertical)
@@ -938,7 +938,7 @@
     switch(msg)
     {
       case WM_LBUTTONDOWN:  /* Initialise mouse tracking */
-          HideCaret(hwnd);  /* hide caret while holding down LBUTTON*/
+          HideCaret(hwnd);  /* hide caret while holding down LBUTTON */
           SCROLL_trackVertical = vertical;
           SCROLL_trackHitTest  = hittest = SCROLL_HitTest( hwnd, nBar, pt, FALSE );
           lastClickPos  = vertical ? (pt.y - rect.top) : (pt.x - rect.left);
@@ -1174,7 +1174,7 @@
         }
         break;
 
-    /* if key event is received, the scrollbar has the focus*/
+    /* if key event is received, the scrollbar has the focus */
     case WM_KEYDOWN:
         /* hide caret on first KEYDOWN to prevent flicker */
         if ((lParam & 0x40000000)==0)
@@ -1188,7 +1188,7 @@
 
     case WM_SETFOCUS:
         {
-            /* Create a caret when a ScrollBar get focus*/
+            /* Create a caret when a ScrollBar get focus */
             RECT rect;
             int arrowSize, thumbSize, thumbPos, vertical;
             vertical = SCROLL_GetScrollBarRect( hwnd, SB_CTL, &rect,
Index: dlls/comctl32/comctl32undoc.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/comctl32undoc.c,v
retrieving revision 1.49
diff -u -r1.49 comctl32undoc.c
--- dlls/comctl32/comctl32undoc.c	2001/06/20 23:03:14	1.49
+++ dlls/comctl32/comctl32undoc.c	2001/06/22 18:47:10
@@ -487,7 +487,7 @@
 /**************************************************************************
  *              AddMRUData [COMCTL32.167]
  * 
- * Add item to MRU binary list.  If item already exists in list them it is
+ * Add item to MRU binary list.  If item already exists in list then it is
  * simply moved up to the top of the list and not added again.  If list is
  * full then the least recently used item is removed to make room.
  *
@@ -541,7 +541,7 @@
  *    nItemPos [I] item position to remove 0 -> MRU
  *
  * RETURNS
- *    TRUE is successful, FALSE if nItemPos is out of range.
+ *    TRUE if successful, FALSE if nItemPos is out of range.
  */
 BOOL WINAPI
 DelMRUString(HANDLE hList, INT nItemPos)
@@ -1311,7 +1311,7 @@
  *
  * PARAMS
  *     hdpa  [I] handle (pointer) to the existing (source) pointer array
- *     nGrow [I] number of items, the array grows, when it's too small
+ *     nGrow [I] number of items by which the array grows when it's too small
  *
  * RETURNS
  *     Success: TRUE
Index: misc/registry.c
===================================================================
RCS file: /home/wine/wine/misc/registry.c,v
retrieving revision 1.94
diff -u -r1.94 registry.c
--- misc/registry.c	2001/06/13 20:13:20	1.94
+++ misc/registry.c	2001/06/22 18:47:11
@@ -583,7 +583,7 @@
     /* first value block */
     dkv = (_w95dkv*)((char*)dkh+dkh->keynamelen+0x14);
 
-    /* loop trought the values */
+    /* loop through the values */
     for (i=0; i< dkh->values; i++) {
         struct key_value value;
         WCHAR *pdata;
@@ -1378,7 +1378,7 @@
     return ret;
 }
 
-/* convert native native registry to wine format and load it via server call [Internal] */
+/* convert native registry to wine format and load it via server call [Internal] */
 static void _convert_and_load_native_registry(LPCSTR fn,HKEY hkey,int reg_type,int level)
 {
     LPSTR tmp = NULL;
@@ -1401,10 +1401,10 @@
 
     if (tmp != NULL) {
         load_wine_registry(hkey,tmp);
-        TRACE("File %s successfuly converted to %s and loaded to registry.\n",fn,tmp);
+        TRACE("File %s successfully converted to %s and loaded to registry.\n",fn,tmp);
         unlink(tmp);
     }
-    else WARN("Unable to convert %s (not exist?)\n",fn);
+    else WARN("Unable to convert %s (doesn't exist?)\n",fn);
     free(tmp);
 }
 


More information about the wine-patches mailing list