Commit 114b667f authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Some spelling and formatting fixes.

parent c46e6747
...@@ -934,7 +934,7 @@ static LONG CC_WMInitDialog( HWND hDlg, WPARAM wParam, LPARAM lParam, BOOL b16 ) ...@@ -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);
......
...@@ -19,11 +19,11 @@ ...@@ -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) ...@@ -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) ...@@ -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 );
......
...@@ -638,7 +638,7 @@ CCHAR WINAPI RtlFindLeastSignificantBit(ULONGLONG ulLong) ...@@ -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)
{ {
......
...@@ -126,7 +126,7 @@ static const WCHAR *create_system_dirid( int dirid ) ...@@ -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);
......
...@@ -179,7 +179,7 @@ static HRESULT WINAPI WBCP_Advise(LPCONNECTIONPOINT iface, ...@@ -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;
} }
......
...@@ -298,8 +298,9 @@ DWORD WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes, ...@@ -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);
......
...@@ -2543,8 +2543,8 @@ BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath) ...@@ -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
......
...@@ -65,7 +65,7 @@ DWORD WINAPI SHLWAPI_23(REFGUID,LPSTR,INT); ...@@ -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).
*/ */
......
...@@ -846,7 +846,7 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count, ...@@ -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",
......
/* -*- 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
* *
......
...@@ -2852,7 +2852,7 @@ typedef struct { ...@@ -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)
......
...@@ -364,9 +364,9 @@ HGLOBAL16 WINAPI GlobalReAlloc16( ...@@ -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) ?
......
...@@ -106,7 +106,7 @@ sub ReadFSTAB { ...@@ -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']);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment