From 7df2d9f187b5ba098ce250a374f858ae50c60d9f Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Wed, 24 Jul 2002 19:02:50 +0000 Subject: [PATCH] Misc spelling fixes. --- dlls/gdi/freetype.c | 2 +- dlls/msacm/driver.c | 3 +-- dlls/shlwapi/url.c | 8 ++++---- windows/win.c | 2 +- windows/winproc.c | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/dlls/gdi/freetype.c b/dlls/gdi/freetype.c index 871133844e..cbfe62e2f9 100644 --- a/dlls/gdi/freetype.c +++ b/dlls/gdi/freetype.c @@ -1059,7 +1059,7 @@ not_found: else ret->charset = get_nearest_charset(face); - TRACE("Choosen %s %s\n", debugstr_w(family->FamilyName), + TRACE("Chosen: %s %s\n", debugstr_w(family->FamilyName), debugstr_w(face->StyleName)); ret->ft_face = OpenFontFile(ret, face->file, face->face_index, diff --git a/dlls/msacm/driver.c b/dlls/msacm/driver.c index e9867a530b..346b6df4a0 100644 --- a/dlls/msacm/driver.c +++ b/dlls/msacm/driver.c @@ -366,7 +366,7 @@ MMRESULT WINAPI acmDriverPriority(HACMDRIVERID hadid, DWORD dwPriority, DWORD fd return MMSYSERR_ERROR; for (dwPriorityCounter = 1; ; dwPriorityCounter++) { - snprintf(szSubKey, 17, "Priorty%ld", dwPriorityCounter); + snprintf(szSubKey, 17, "Priority%ld", dwPriorityCounter); lError = RegQueryValueA(hPriorityKey, szSubKey, szBuffer, &lBufferLength); if (lError != ERROR_SUCCESS) break; @@ -399,4 +399,3 @@ MMRESULT WINAPI acmDriverRemove(HACMDRIVERID hadid, DWORD fdwRemove) return MMSYSERR_NOERROR; } - diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c index 0bf68f4d5f..fce2bb953d 100644 --- a/dlls/shlwapi/url.c +++ b/dlls/shlwapi/url.c @@ -705,7 +705,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative, * buffer size (including room for the '\0'). * * By default the function stops converting at the first '?' or - * '#'. [MSDN says differently]. If URL_ESCAPE_SPACE_ONLY flag is set + * '#'. [MSDN says differently]. If URL_ESCAPE_SPACES_ONLY flag is set * then only spaces are converted, but the conversion continues past a * '?' or '#'. * @@ -750,7 +750,7 @@ HRESULT WINAPI UrlEscapeA( URL_ESCAPE_SEGMENT_ONLY); else - /* if SPACES_ONLY *not* specified the assume DONT_ESCAPE_EXTRA_INFO */ + /* if SPACES_ONLY *not* specified then assume DONT_ESCAPE_EXTRA_INFO */ dwFlags |= URL_DONT_ESCAPE_EXTRA_INFO; for(src = pszUrl; *src; src++) { @@ -1030,7 +1030,7 @@ HRESULT WINAPI UrlUnescapeW( * Neither V4 nor V5 of shlwapi.dll implement the '?' and always return * a NULL. * MSDN further states that: - * "If a file URL has a query string, ther returned string + * "If a file URL has a query string, the returned string is * the query string." * In all test cases if the scheme starts with "fi" then a NULL is * returned. V5 gives the following results: @@ -1349,7 +1349,7 @@ HRESULT WINAPI UrlApplySchemeW(LPCWSTR pszIn, LPWSTR pszOut, LPDWORD pcchOut, DW } strcpyW(pszOut, pszIn); *pcchOut = strlenW(pszOut); - TRACE("returing copy, left alone\n"); + TRACE("returning copy, left alone\n"); return S_FALSE; } diff --git a/windows/win.c b/windows/win.c index 551d56c607..1017c9276e 100644 --- a/windows/win.c +++ b/windows/win.c @@ -235,7 +235,7 @@ static void get_server_window_text( HWND hwnd, LPWSTR text, INT count ) * WIN_GetPtr * * Return a pointer to the WND structure if local to the process, - * or WND_OTHER_PROCESS is handle may be valid in other process. + * or WND_OTHER_PROCESS if handle may be valid in other process. * If ret value is a valid pointer, it must be released with WIN_ReleasePtr. */ WND *WIN_GetPtr( HWND hwnd ) diff --git a/windows/winproc.c b/windows/winproc.c index 36ec3754f8..2df3ec81b5 100644 --- a/windows/winproc.c +++ b/windows/winproc.c @@ -520,7 +520,7 @@ void WINPROC_FreeProc( HWINDOWPROC proc, WINDOWPROCUSER user ) { WINDOWPROC *next = ((WINDOWPROC *)proc)->next; if (((WINDOWPROC *)proc)->user != user) break; - TRACE_(win)("freeing %08x\n", (UINT)proc); + TRACE_(win)("freeing %08x (%d)\n", (UINT)proc, user); HeapFree( WinProcHeap, 0, proc ); proc = next; }