spelling and TRACE fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

- fix some pselling
- enhance some TRACEs

-- 
Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Determining best CVS host...
Using CVSROOT :pserver:cvs@cvs.winehq.com:/home/wine
Index: dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.299
diff -u -r1.299 listview.c
--- dlls/comctl32/listview.c	23 Oct 2002 23:32:50 -0000	1.299
+++ dlls/comctl32/listview.c	25 Oct 2002 08:50:02 -0000
@@ -341,7 +341,7 @@
 #define LV_FL_DT_FLAGS  (DT_TOP | DT_NOPREFIX | DT_EDITCONTROL | DT_CENTER | DT_WORDBREAK | DT_NOCLIP)
 #define LV_SL_DT_FLAGS  (DT_TOP | DT_EDITCONTROL | DT_SINGLELINE | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS)
 
-/* The time in milisecods to reset the search in the list */
+/* The time in milliseconds to reset the search in the list */
 #define KEY_DELAY       450
 
 /* Dump the LISTVIEW_INFO structure to the debug channel */
Index: dlls/comctl32/treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.105
diff -u -r1.105 treeview.c
--- dlls/comctl32/treeview.c	23 Oct 2002 22:19:10 -0000	1.105
+++ dlls/comctl32/treeview.c	25 Oct 2002 08:50:11 -0000
@@ -3640,7 +3640,7 @@
 
 	if (iLength >= 1023)
 	{
-	    ERR("Insuficient space to retrieve new item label\n");
+	    ERR("Insufficient space to retrieve new item label\n");
 	}
 
 	tvdi.item.pszText = tmpText;
Index: dlls/kernel/tests/alloc.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/alloc.c,v
retrieving revision 1.4
diff -u -r1.4 alloc.c
--- dlls/kernel/tests/alloc.c	11 Sep 2002 00:48:47 -0000	1.4
+++ dlls/kernel/tests/alloc.c	25 Oct 2002 08:50:12 -0000
@@ -56,7 +56,7 @@
     UINT error,i;
     DWORD dwSize;
 
-/* Retreive the page size for this system */
+/* Retrieve the page size for this system */
     sysInfo.dwPageSize=0;
     GetSystemInfo(&sysInfo);
     ok(sysInfo.dwPageSize>0,"GetSystemInfo should return a valid page size");
@@ -391,12 +391,12 @@
     UCHAR *mem1;
     UINT error,i;
 
-/* Retreive the page size for this system */
+/* Retrieve the page size for this system */
     sysInfo.dwPageSize=0;
     GetSystemInfo(&sysInfo);
     ok(sysInfo.dwPageSize>0,"GetSystemInfo should return a valid page size");
 
-/* Chhose a reasonable allocation size */
+/* Choose a reasonable allocation size */
     memchunk=10*sysInfo.dwPageSize;
 
 /* Check that a normal alloc works */
Index: dlls/shell32/shellole.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shellole.c,v
retrieving revision 1.51
diff -u -r1.51 shellole.c
--- dlls/shell32/shellole.c	13 Aug 2002 03:21:53 -0000	1.51
+++ dlls/shell32/shellole.c	25 Oct 2002 08:50:15 -0000
@@ -165,10 +165,10 @@
 	    dwSize = sizeof(sDllPath);
 	    SHQueryValueExW(hKey, NULL, 0,0, sDllPath, &dwSize );
 
-	    /* if a special registry key is set we loading a shell extension without help of OLE32 */
+	    /* if a special registry key is set, we load a shell extension without help of OLE32 */
 	    bLoadWithoutCOM = (ERROR_SUCCESS == SHQueryValueExW(hKey, sLoadWithoutCOM, 0, 0, 0, 0));
 
-	    /* if the com object is inside shell32 omit use of ole32 */
+	    /* if the com object is inside shell32, omit use of ole32 */
 	    bLoadFromShell32 = (0==lstrcmpiW( PathFindFileNameW(sDllPath), sShell32));
 
 	    RegCloseKey (hKey);
Index: dlls/shlwapi/reg.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/reg.c,v
retrieving revision 1.32
diff -u -r1.32 reg.c
--- dlls/shlwapi/reg.c	12 Sep 2002 18:02:14 -0000	1.32
+++ dlls/shlwapi/reg.c	25 Oct 2002 08:50:26 -0000
@@ -623,7 +623,7 @@
 	    return RegEnumKeyExA(dokey, dwIndex, pszName, pcchValueNameLen,
 				0, 0, 0, 0);
 	}
-	FIXME("no support for SHREGNUM_BOTH\n");
+	FIXME("no support for SHREGENUM_BOTH\n");
 	return ERROR_INVALID_FUNCTION;
 }
 
@@ -656,7 +656,7 @@
 	    return RegEnumKeyExW(dokey, dwIndex, pszName, pcchValueNameLen,
 				0, 0, 0, 0);
 	}
-	FIXME("no support for SHREGNUM_BOTH\n");
+	FIXME("no support for SHREGENUM_BOTH\n");
 	return ERROR_INVALID_FUNCTION;
 }
 
@@ -1483,7 +1483,7 @@
  *
  * RETURNS
  *   Success: ERROR_SUCCESS. Output parameters are updated.
- *   Failure: An error code from RegEnumValueExA.
+ *   Failure: An error code from RegEnumValueA.
  */
 LONG WINAPI SHEnumValueA(HKEY hKey, DWORD dwIndex, LPSTR lpszValue,
                          LPDWORD pwLen, LPDWORD pwType,
Index: dlls/winmm/winealsa/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v
retrieving revision 1.7
diff -u -r1.7 audio.c
--- dlls/winmm/winealsa/audio.c	19 Oct 2002 17:20:03 -0000	1.7
+++ dlls/winmm/winealsa/audio.c	25 Oct 2002 08:50:32 -0000
@@ -481,7 +481,7 @@
 #undef X
     }
 
-    if ( snd_pcm_hw_params_get_channels_min(hw_params) > 1) FIXME("-");
+    if ( snd_pcm_hw_params_get_channels_min(hw_params) > 1) FIXME("-\n");
     wwo->caps.wChannels = (snd_pcm_hw_params_get_channels_max(hw_params) >= 2) ? 2 : 1;
     if (snd_pcm_hw_params_get_channels_min(hw_params) <= 2 && 2 <= snd_pcm_hw_params_get_channels_max(hw_params))
         wwo->caps.dwSupport |= WAVECAPS_LRVOLUME;
Index: dlls/x11drv/keyboard.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/keyboard.c,v
retrieving revision 1.11
diff -u -r1.11 keyboard.c
--- dlls/x11drv/keyboard.c	10 Oct 2002 23:30:13 -0000	1.11
+++ dlls/x11drv/keyboard.c	25 Oct 2002 08:50:43 -0000
@@ -873,13 +873,13 @@
     /* Do something if internal table state != X state for keycode */
     if (((pKeyStateTable[vkey] & 0x80)!=0) != state)
     {
-        TRACE("Adjusting state for vkey %#.2x. State before %#.2x \n",
+        TRACE("Adjusting state for vkey %#.2x. State before %#.2x\n",
               vkey, pKeyStateTable[vkey]);
 
         /* Fake key being pressed inside wine */
         send_keyboard_input( vkey, 0, state? 0 : KEYEVENTF_KEYUP, time );
 
-        TRACE("State after %#.2x \n",pKeyStateTable[vkey]);
+        TRACE("State after %#.2x\n",pKeyStateTable[vkey]);
     }
 }
 
@@ -951,12 +951,12 @@
 
     TRACE_(key)("state = %X\n", event->state);
 
-    /* If XKB extensions is used, the state mask for AltGr will used the group
+    /* If XKB extensions are used, the state mask for AltGr will use the group
        index instead of the modifier mask. The group index is set in bits
        13-14 of the state field in the XKeyEvent structure. So if AltGr is
-       pressed, look if the group index is diferent than 0. From XKB
-       extension documentation, the group index should for AltGr should
-       be 2 (event->state = 0x2000). It's probably better to not assume a
+       pressed, look if the group index is different than 0. From XKB
+       extension documentation, the group index for AltGr should be 2
+       (event->state = 0x2000). It's probably better to not assume a
        predefined group index and find it dynamically
 
        Ref: X Keyboard Extension: Library specification (section 14.1.1 and 17.1.1) */
@@ -997,7 +997,7 @@
         /* Adjust the NUMLOCK state if it has been changed outside wine */
 	if (!(pKeyStateTable[VK_NUMLOCK] & 0x01) != !(event->state & NumLockMask))
 	  {
-	    TRACE("Adjusting NumLock state. \n");
+	    TRACE("Adjusting NumLock state.\n");
 	    KEYBOARD_GenerateMsg( VK_NUMLOCK, 0x45, KeyPress, event_time );
 	    KEYBOARD_GenerateMsg( VK_NUMLOCK, 0x45, KeyRelease, event_time );
 	  }
@@ -1365,7 +1365,7 @@
 	  keycode = TSXKeysymToKeycode(display, keysym | 0xFE00);
 	}
 
-	TRACE("VkKeyScan '%c'(%#lx, %lu): got keycode %#.2x\n",
+	TRACE("'%c'(%#lx, %lu): got keycode %#.2x\n",
               cChar,keysym,keysym,keycode);
 
 	if (keycode)
@@ -1402,7 +1402,7 @@
 
 #define returnMVK(value) { TRACE("returning 0x%x.\n",value); return value; }
 
-	TRACE("MapVirtualKey wCode=0x%x wMapType=%d ... \n", wCode,wMapType);
+	TRACE("wCode=0x%x wMapType=%d ...\n", wCode,wMapType);
 	switch(wMapType) {
 		case 0:	{ /* vkey-code to scan-code */
 			/* let's do vkey -> keycode -> scan */
@@ -1799,7 +1799,7 @@
         }
 
         /* more areas where X returns characters but Windows does not
-           CTRL + number or CTRL + symbol*/
+           CTRL + number or CTRL + symbol */
         if (e.state & ControlMask)
         {
             if (((keysym>=33) && (keysym < 'A')) ||

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux