From 2caee712a2b3650e4b9bec8c4bd8e9f3a3b61c04 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <amohr@student.ei.uni-stuttgart.de>
Date: Sun, 16 Jul 2000 15:44:22 +0000
Subject: [PATCH] Spelling fixes.

---
 dlls/odbc32/proxyodbc.c    |  4 ++--
 dlls/ole32/datacache.c     |  2 +-
 dlls/oleaut32/olefont.c    |  2 +-
 dlls/oleaut32/olepicture.c |  2 +-
 dlls/richedit/richedit.c   |  4 ++--
 dlls/rpcrt4/rpcrt4_main.c  |  4 ++--
 dlls/serialui/confdlg.c    |  7 +++----
 dlls/wininet/internet.c    |  4 ++--
 dlls/winspool/info.c       |  4 ++--
 files/file.c               |  6 +++---
 graphics/x11drv/xfont.c    | 12 ++++++------
 loader/task.c              |  7 ++++---
 windows/class.c            |  2 +-
 13 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
index 377aae1644a..e522965d32f 100644
--- a/dlls/odbc32/proxyodbc.c
+++ b/dlls/odbc32/proxyodbc.c
@@ -125,9 +125,9 @@ SQLRETURN SQLDummyFunc()
  * MAIN_OdbcInit [Internal] Initializes the internal 'ODBC32.DLL'.
  *
  * PARAMS
- *     hinstDLL    [I] handle to the 'dlls' instance
+ *     hinstDLL    [I] handle to the DLL's instance
  *     fdwReason   [I]
- *     lpvReserved [I] reserverd, must be NULL
+ *     lpvReserved [I] reserved, must be NULL
  *
  * RETURNS
  *     Success: TRUE
diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
index 5e2853cae83..d2213b96315 100644
--- a/dlls/ole32/datacache.c
+++ b/dlls/ole32/datacache.c
@@ -932,7 +932,7 @@ static HRESULT WINAPI DataCache_NDIUnknown_QueryInterface(
    */
   if ((*ppvObject)==0)
   {
-    WARN( "() : asking for un supported interface %s\n", debugstr_guid(riid));
+    WARN( "() : asking for unsupported interface %s\n", debugstr_guid(riid));
     return E_NOINTERFACE;
   }
   
diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
index 9943fa46f4b..96264ade02c 100644
--- a/dlls/oleaut32/olefont.c
+++ b/dlls/oleaut32/olefont.c
@@ -336,7 +336,7 @@ static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc)
  * OLEFontImpl_Construct
  *
  * This method is called by the Release method when the reference
- * count goes doen to 0. it will free all resources used by
+ * count goes down to 0. It will free all resources used by
  * this object.
  */
 static void OLEFontImpl_Destroy(OLEFontImpl* fontDesc)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index 7f01dd74bc9..f6b87a3b50f 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -177,7 +177,7 @@ static OLEPictureImpl* OLEPictureImpl_Construct(LPPICTDESC pictDesc, BOOL fOwn)
  * OLEPictureImpl_Destroy
  *
  * This method is called by the Release method when the reference
- * count goes doen to 0. it will free all resources used by
+ * count goes down to 0. It will free all resources used by
  * this object.  */
 static void OLEPictureImpl_Destroy(OLEPictureImpl* Obj)
 { 
diff --git a/dlls/richedit/richedit.c b/dlls/richedit/richedit.c
index 4f576fd6d23..e637784edb4 100644
--- a/dlls/richedit/richedit.c
+++ b/dlls/richedit/richedit.c
@@ -34,9 +34,9 @@ HMODULE RICHED32_hModule = 0;
  * RICHED32_LibMain [Internal] Initializes the internal 'RICHED32.DLL'.
  *
  * PARAMS
- *     hinstDLL    [I] handle to the 'dlls' instance
+ *     hinstDLL    [I] handle to the DLL's instance
  *     fdwReason   [I]
- *     lpvReserved [I] reserverd, must be NULL
+ *     lpvReserved [I] reserved, must be NULL
  *
  * RETURNS
  *     Success: TRUE
diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index ae7bbf13774..e10910d3e7f 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -40,9 +40,9 @@ DEFAULT_DEBUG_CHANNEL(ole);
  * RPCRT4_LibMain
  *
  * PARAMS
- *     hinstDLL    [I] handle to the 'dlls' instance
+ *     hinstDLL    [I] handle to the DLL's instance
  *     fdwReason   [I]
- *     lpvReserved [I] reserverd, must be NULL
+ *     lpvReserved [I] reserved, must be NULL
  *
  * RETURNS
  *     Success: TRUE
diff --git a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c
index 63479c43de1..7ccb11e7ea2 100644
--- a/dlls/serialui/confdlg.c
+++ b/dlls/serialui/confdlg.c
@@ -1,6 +1,6 @@
 /*		
  * This DLL contains the user interface for the serial driver.
- *    a Dialog box to configure the specified COMM port
+ *    a dialog box to configure the specified COMM port
  *    an interface to the control panel (??)
  *    functions to load and save default configuration
  *
@@ -36,9 +36,9 @@ DWORD SERIALUI_dwProcessesAttached = 0;
  * SERIALUI_LibMain [Internal] Initializes the internal 'SERIALUI.DLL'.
  *
  * PARAMS
- *     hinstDLL    [I] handle to the 'dlls' instance
+ *     hinstDLL    [I] handle to the DLL's instance
  *     fdwReason   [I]
- *     lpvReserved [I] reserverd, must be NULL
+ *     lpvReserved [I] reserved, must be NULL
  *
  * RETURNS
  *     Success: TRUE
@@ -533,7 +533,6 @@ BOOL WINAPI SERIALUI_GetDefaultCommConfig(
         lpCommConfig->dcb.ByteSize = 8;
         lpCommConfig->dcb.Parity = NOPARITY;
         lpCommConfig->dcb.StopBits = ONESTOPBIT;
-        lpCommConfig->dcb.StopBits = ONESTOPBIT;
         return TRUE;
     }
 
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index cb67dc64963..79b556de16c 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -60,9 +60,9 @@ LPWORKREQUEST lpWorkQueueTail;
  * WININET_LibMain [Internal] Initializes the internal 'WININET.DLL'.
  *
  * PARAMS
- *     hinstDLL    [I] handle to the 'dlls' instance
+ *     hinstDLL    [I] handle to the DLL's instance
  *     fdwReason   [I]
- *     lpvReserved [I] reserverd, must be NULL
+ *     lpvReserved [I] reserved, must be NULL
  *
  * RETURNS
  *     Success: TRUE
diff --git a/dlls/winspool/info.c b/dlls/winspool/info.c
index 3af7f0fe1c8..333f70e51f9 100644
--- a/dlls/winspool/info.c
+++ b/dlls/winspool/info.c
@@ -280,11 +280,11 @@ static void FREE_PRINTER_INFO_2W(HANDLE heap, LPPRINTER_INFO_2W piW)
  *              DeviceCapabilitiesA    [WINSPOOL.150 & WINSPOOL.151]
  *
  */
-INT WINAPI DeviceCapabilitiesA(LPCSTR pDeivce,LPCSTR pPort, WORD cap,
+INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort, WORD cap,
 			       LPSTR pOutput, LPDEVMODEA lpdm)
 {
     INT ret;
-    ret = GDI_CallDeviceCapabilities16(pDeivce, pPort, cap, pOutput, lpdm);
+    ret = GDI_CallDeviceCapabilities16(pDevice, pPort, cap, pOutput, lpdm);
 
     /* If DC_PAPERSIZE map POINT16s to POINTs */
     if(ret != -1 && cap == DC_PAPERSIZE && pOutput) {
diff --git a/files/file.c b/files/file.c
index 7f804585adb..f1e9fbe8749 100644
--- a/files/file.c
+++ b/files/file.c
@@ -347,14 +347,14 @@ HANDLE FILE_CreateFile( LPCSTR filename, DWORD access, DWORD sharing,
 	if ((err == STATUS_MEDIA_WRITE_PROTECTED) || (err == STATUS_ACCESS_DENIED))
         {
 	    TRACE("Write access failed for file '%s', trying without "
-		  "write access", filename);
+		  "write access\n", filename);
             access &= ~GENERIC_WRITE;
             goto restart;
         }
     }
 
     if (req->handle == -1)
-	WARN("Unable to create file '%s' (GLE %ld)", filename,
+	WARN("Unable to create file '%s' (GLE %ld)\n", filename,
 	     GetLastError());
 
     return req->handle;
@@ -1130,7 +1130,7 @@ BOOL WINAPI GetOverlappedResult(HANDLE hFile,LPOVERLAPPED lpOverlapped,
                                 LPDWORD lpNumberOfBytesTransferred,
                                 BOOL bWait)
 {
-    /* Since all i/o is currently synchronuos,
+    /* Since all i/o is currently synchronous,
      * return true, assuming ReadFile/WriteFile
      * have completed the operation */
     FIXME("NO Asynch I/O, assuming Read/Write succeeded\n" );
diff --git a/graphics/x11drv/xfont.c b/graphics/x11drv/xfont.c
index 6a92fd4d845..1822f8189bc 100644
--- a/graphics/x11drv/xfont.c
+++ b/graphics/x11drv/xfont.c
@@ -1428,7 +1428,7 @@ static fontAlias* XFONT_CreateAlias( LPCSTR lpTypeFace, LPCSTR lpAlias )
 	pfa->faAlias = pfa->faTypeFace + j;
 	lstrcpyA( pfa->faAlias, lpAlias );
 
-        TRACE("added alias '%s' for %s\n", lpAlias, lpTypeFace );
+        TRACE("added alias '%s' for '%s'\n", lpAlias, lpTypeFace );
 
 	return pfa;
     }
@@ -1485,7 +1485,7 @@ static void XFONT_LoadAlias(const LFD* lfd, LPCSTR lpAlias, BOOL bSubst)
 		prev = pfa;
 	    }
 						
-	    TRACE("\tsubstituted '%s' with %s\n", frMatch->lfFaceName, lpAlias );
+	    TRACE("\tsubstituted '%s' with '%s'\n", frMatch->lfFaceName, lpAlias );
 		
 	    lstrcpynA( frMatch->lfFaceName, lpAlias, LF_FACESIZE );
 	    frMatch->fr_flags |= FR_NAMESET;
@@ -1507,7 +1507,7 @@ static void XFONT_LoadAlias(const LFD* lfd, LPCSTR lpAlias, BOOL bSubst)
  *
  * INIT ONLY 
  *
- * Create font aliases for some standard windows fonts using users
+ * Create font aliases for some standard windows fonts using user's
  * default choice of (sans-)serif fonts
  *
  * Read user-defined aliases from wine.conf. Format is as follows
@@ -1519,7 +1519,7 @@ static void XFONT_LoadAlias(const LFD* lfd, LPCSTR lpAlias, BOOL bSubst)
  *   Alias1 = Times New Roman, -bitstream-courier-, 1
  *   ...
  *
- * Note that from 081797 and on we have built-in alias templates that take
+ * Note that from 970817 and on we have built-in alias templates that take
  * care of the necessary Windows typefaces.
  */
 typedef struct
@@ -1626,7 +1626,7 @@ static LPCSTR XFONT_UnAlias(char* font)
  *
  * Caller should check if the font resource is in use. If it is it should
  * set FR_REMOVED flag to delay removal until the resource is not in use
- * anymore.
+ * any more.
  */
 void XFONT_RemoveFontResource( fontResource** ppfr )
 {
@@ -1719,7 +1719,7 @@ static void XFONT_LoadIgnores(void)
  *           XFONT_UserMetricsCache
  * 
  * Returns expanded name for the cachedmetrics file.
- * Now it also appends the current value of the $DISPLAY varaible.
+ * Now it also appends the current value of the $DISPLAY variable.
  */
 static char* XFONT_UserMetricsCache( char* buffer, int* buf_size )
 {
diff --git a/loader/task.c b/loader/task.c
index 0ac967bba05..54941fa6854 100644
--- a/loader/task.c
+++ b/loader/task.c
@@ -369,7 +369,7 @@ BOOL TASK_Create( NE_MODULE *pModule, UINT16 cmdShow, TEB *teb, LPCSTR cmdline,
 
     FarSetOwner16( pTask->pdb.environment, pTask->hPDB );
 
-      /* Default DTA overwrites command-line */
+      /* Default DTA overwrites command line */
 
     pTask->dta = PTR_SEG_OFF_TO_SEGPTR( pTask->hPDB, 
                                 (int)&pTask->pdb.cmdLine - (int)&pTask->pdb );
@@ -723,7 +723,7 @@ void WINAPI InitTask16( CONTEXT86 *context )
      * dx     cmdShow parameter
      * si     instance handle of the previous instance
      * di     instance handle of the new task
-     * es:bx  pointer to command-line inside PSP
+     * es:bx  pointer to command line inside PSP
      *
      * 0 (=%bp) is pushed on the stack
      */
@@ -1117,7 +1117,8 @@ BOOL16 WINAPI GetCodeInfo16( FARPROC16 proc, SEGINFO *segInfo )
  */
 BOOL16 WINAPI DefineHandleTable16( WORD wOffset )
 {
-    return TRUE;  /* FIXME */
+    FIXME("(%04x): stub ?\n", wOffset);
+    return TRUE;
 }
 
 
diff --git a/windows/class.c b/windows/class.c
index 30fa05c754d..2bd9f06aa7a 100644
--- a/windows/class.c
+++ b/windows/class.c
@@ -1153,7 +1153,7 @@ BOOL WINAPI GetClassInfoA( HINSTANCE hInstance, LPCSTR name,
 
     /* workaround: if hInstance=NULL you expect to get the system classes
     but this classes (as example from comctl32.dll SysListView) won't be
-    registred with hInstance=NULL in WINE because of the late loading
+    registered with hInstance=NULL in WINE because of the late loading
     of this dll. fixes file dialogs in WinWord95 (jsch)*/
 
     if (!(atom=GlobalFindAtomA(name)) || !(classPtr=CLASS_FindClassByAtom(atom,hInstance)))
-- 
GitLab