Some spelling and formatting fixes.

This commit is contained in:
Andreas Mohr 2003-04-02 01:23:43 +00:00 committed by Alexandre Julliard
parent c46e6747af
commit 114b667f41
13 changed files with 21 additions and 20 deletions

View File

@ -934,7 +934,7 @@ static LONG CC_WMInitDialog( HWND hDlg, WPARAM wParam, LPARAM lParam, BOOL b16 )
lpp->s = CC_RGBtoHSL('S', r, g, b); lpp->s = CC_RGBtoHSL('S', r, g, b);
lpp->l = CC_RGBtoHSL('L', r, g, b); lpp->l = CC_RGBtoHSL('L', r, g, b);
/* Doing it the long way becaus CC_EditSetRGB/HSL doesn'nt seem to work */ /* Doing it the long way because CC_EditSetRGB/HSL doesn't seem to work */
SetDlgItemInt(hDlg, 703, lpp->h, TRUE); SetDlgItemInt(hDlg, 703, lpp->h, TRUE);
SetDlgItemInt(hDlg, 704, lpp->s, TRUE); SetDlgItemInt(hDlg, 704, lpp->s, TRUE);
SetDlgItemInt(hDlg, 705, lpp->l, TRUE); SetDlgItemInt(hDlg, 705, lpp->l, TRUE);

View File

@ -19,11 +19,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* *
* FIXME: The whole concept of handling unicode is badly broken. * FIXME: The whole concept of handling unicode is badly broken.
* many hook-messages expecting a pointer to a * many hook-messages expect a pointer to a
* OPENFILENAMEA or W structure. With the current architecture * OPENFILENAMEA or W structure. With the current architecture
* we would have to convert the beast at every call to a hook. * we would have to convert the beast at every call to a hook.
* we have to find a better solution but if would likely cause * we have to find a better solution but it would likely cause
* a complete rewrite with after we shouldhandle the * a complete rewrite after which we should handle the
* OPENFILENAME structure without any converting (jsch). * OPENFILENAME structure without any converting (jsch).
* *
* FIXME: any hook gets a OPENFILENAMEA structure * FIXME: any hook gets a OPENFILENAMEA structure
@ -1264,7 +1264,7 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
TRACE("No initial dir specified, using current dir of %s\n", debugstr_w(fodInfos->initdir)); TRACE("No initial dir specified, using current dir of %s\n", debugstr_w(fodInfos->initdir));
} }
} }
TRACE("After manipilation, file = %s, dir = %s\n", debugstr_w(fodInfos->filename), debugstr_w(fodInfos->initdir)); TRACE("After manipulation, file = %s, dir = %s\n", debugstr_w(fodInfos->filename), debugstr_w(fodInfos->initdir));
/* Must the open as read only check box be checked ?*/ /* Must the open as read only check box be checked ?*/
if(fodInfos->ofnInfos->Flags & OFN_READONLY) if(fodInfos->ofnInfos->Flags & OFN_READONLY)
@ -2743,7 +2743,7 @@ void FILEDLG95_FILENAME_FillFromSelection (HWND hwnd)
if (pidl) if (pidl)
{ {
/* get the total length of the selected file names*/ /* get the total length of the selected file names */
lpstrTemp[0] = '\0'; lpstrTemp[0] = '\0';
GetName( fodInfos->Shell.FOIShellFolder, pidl, SHGDN_INFOLDER|SHGDN_FORPARSING, lpstrTemp ); GetName( fodInfos->Shell.FOIShellFolder, pidl, SHGDN_INFOLDER|SHGDN_FORPARSING, lpstrTemp );

View File

@ -638,7 +638,7 @@ CCHAR WINAPI RtlFindLeastSignificantBit(ULONGLONG ulLong)
/************************************************************************* /*************************************************************************
* NTDLL_RunSortFn * NTDLL_RunSortFn
* *
* Internal helper: qsort comparason function for RTL_BITMAP_RUN arrays * Internal helper: qsort comparison function for RTL_BITMAP_RUN arrays
*/ */
static int NTDLL_RunSortFn(const void *lhs, const void *rhs) static int NTDLL_RunSortFn(const void *lhs, const void *rhs)
{ {

View File

@ -126,7 +126,7 @@ static const WCHAR *create_system_dirid( int dirid )
case DIRID_COLOR: /* FIXME */ case DIRID_COLOR: /* FIXME */
case DIRID_PRINTPROCESSOR: /* FIXME */ case DIRID_PRINTPROCESSOR: /* FIXME */
default: default:
FIXME( "unknwon dirid %d\n", dirid ); FIXME( "unknown dirid %d\n", dirid );
return get_unknown_dirid(); return get_unknown_dirid();
} }
len = (strlenW(buffer) + 1) * sizeof(WCHAR); len = (strlenW(buffer) + 1) * sizeof(WCHAR);

View File

@ -179,7 +179,7 @@ static HRESULT WINAPI WBCP_Advise(LPCONNECTIONPOINT iface,
static HRESULT WINAPI WBCP_Unadvise(LPCONNECTIONPOINT iface, static HRESULT WINAPI WBCP_Unadvise(LPCONNECTIONPOINT iface,
DWORD dwCookie) DWORD dwCookie)
{ {
FIXME("stub: cookie to disconnect = %ld\n", dwCookie); FIXME("stub: cookie to disconnect = %lx\n", dwCookie);
return S_OK; return S_OK;
} }

View File

@ -298,8 +298,9 @@ DWORD WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes,
} }
/* translate the path into a pidl only when SHGFI_USEFILEATTRIBUTES in not specified /* translate the path into a pidl only when SHGFI_USEFILEATTRIBUTES
the pidl functions fail on not existing file names */ * is not specified.
The pidl functions fail on not existing file names */
if (flags & SHGFI_PIDL) { if (flags & SHGFI_PIDL) {
pidl = ILClone((LPCITEMIDLIST)path); pidl = ILClone((LPCITEMIDLIST)path);

View File

@ -2543,8 +2543,8 @@ BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath)
* Determine the length of the common prefix between two paths. * Determine the length of the common prefix between two paths.
* *
* PARAMS * PARAMS
* lpszFile1 [I] First path for comparason * lpszFile1 [I] First path for comparison
* lpszFile2 [I] Second path for comparason * lpszFile2 [I] Second path for comparison
* achPath [O] Destination for common prefix string * achPath [O] Destination for common prefix string
* *
* RETURNS * RETURNS

View File

@ -65,7 +65,7 @@ DWORD WINAPI SHLWAPI_23(REFGUID,LPSTR,INT);
* Failure: NULL, if any parameters are invalid. * Failure: NULL, if any parameters are invalid.
* *
* NOTES * NOTES
* This function always returns returns NULL if the underlying OS version * This function always returns NULL if the underlying OS version
* Wine is impersonating does not use security descriptors (i.e. anything * Wine is impersonating does not use security descriptors (i.e. anything
* before Windows NT). * before Windows NT).
*/ */

View File

@ -846,7 +846,7 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count,
int prefix_offset; int prefix_offset;
ellipsis_data ellip; ellipsis_data ellip;
TRACE("%s, %d , [(%ld,%ld),(%ld,%ld)]\n", debugstr_wn (str, count), count, TRACE("%s, %d, [(%ld,%ld),(%ld,%ld)]\n", debugstr_wn (str, count), count,
rect->left, rect->top, rect->right, rect->bottom); rect->left, rect->top, rect->right, rect->bottom);
if (dtp) TRACE("Params: iTabLength=%d, iLeftMargin=%d, iRightMargin=%d\n", if (dtp) TRACE("Params: iTabLength=%d, iLeftMargin=%d, iRightMargin=%d\n",

View File

@ -1,6 +1,6 @@
/* -*- tab-width: 8; c-basic-offset: 4 -*- */ /* -*- tab-width: 8; c-basic-offset: 4 -*- */
/* /*
* Wine Midi mapper driver * Wine MIDI mapper driver
* *
* Copyright 1999, 2000, 2001 Eric Pouech * Copyright 1999, 2000, 2001 Eric Pouech
* *

View File

@ -2852,7 +2852,7 @@ typedef struct {
typedef struct _SID_AND_ATTRIBUTES { typedef struct _SID_AND_ATTRIBUTES {
PSID Sid; PSID Sid;
DWORD Attributes; DWORD Attributes;
} SID_AND_ATTRIBUTES ; } SID_AND_ATTRIBUTES;
/* security entities */ /* security entities */
#define SECURITY_NULL_RID (0x00000000L) #define SECURITY_NULL_RID (0x00000000L)

View File

@ -364,9 +364,9 @@ HGLOBAL16 WINAPI GlobalReAlloc16(
else else
{ {
/* /*
* if more then one reader (e.g. some pointer has been * if more than one reader (e.g. some pointer has been
* given out by GetVDMPointer32W16), * given out by GetVDMPointer32W16),
* only try to realloc in place * only try to realloc in place
*/ */
newptr = HeapReAlloc( GetProcessHeap(), newptr = HeapReAlloc( GetProcessHeap(),
(pArena->pageLockCount > 0) ? (pArena->pageLockCount > 0) ?

View File

@ -106,7 +106,7 @@ sub ReadFSTAB {
} }
elsif ( ($mntpoint eq '/mnt/cdrom' || $mntpoint eq '/cdrom') elsif ( ($mntpoint eq '/mnt/cdrom' || $mntpoint eq '/cdrom')
&& $type eq 'supermount') { && $type eq 'supermount') {
push(@::CdromDrives, [ '/dev/cdrom', $mntpoint, 'win95']); push(@::CdromDrives, ['/dev/cdrom', $mntpoint, 'win95']);
} }
} }
} }