Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
282f7270
Commit
282f7270
authored
Feb 28, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small 'typos in comments' fixes.
parent
9ee9efff
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
43 additions
and
43 deletions
+43
-43
types.c
debugger/types.c
+2
-2
listview.c
dlls/comctl32/listview.c
+2
-2
pager.c
dlls/comctl32/pager.c
+2
-2
toolbar.c
dlls/comctl32/toolbar.c
+2
-2
dplay.c
dlls/dplayx/dplay.c
+1
-1
process.c
dlls/msvcrt/process.c
+1
-1
antimoniker.c
dlls/ole32/antimoniker.c
+1
-1
bindctx.c
dlls/ole32/bindctx.c
+2
-2
clipboard.c
dlls/ole32/clipboard.c
+1
-1
compositemoniker.c
dlls/ole32/compositemoniker.c
+2
-2
filemoniker.c
dlls/ole32/filemoniker.c
+2
-2
itemmoniker.c
dlls/ole32/itemmoniker.c
+3
-3
moniker.c
dlls/ole32/moniker.c
+3
-3
storage32.c
dlls/ole32/storage32.c
+1
-1
typelib.c
dlls/oleaut32/typelib.c
+1
-1
variant.c
dlls/oleaut32/variant.c
+5
-5
shlfolder.c
dlls/shell32/shlfolder.c
+1
-1
ddeml.c
dlls/user/ddeml.c
+1
-1
exticon.c
dlls/user/exticon.c
+1
-1
graphics.c
graphics/x11drv/graphics.c
+4
-4
ddraw.h
include/ddraw.h
+1
-1
metafile.c
objects/metafile.c
+1
-1
main.c
programs/notepad/main.c
+1
-1
device.c
win32/device.c
+1
-1
winpos.c
windows/winpos.c
+1
-1
No files found.
debugger/types.c
View file @
282f7270
...
...
@@ -4,7 +4,7 @@
* Copyright (C) 1997, Eric Youngdale.
*
* This really doesn't do much at the moment, but it forms the framework
* upon which full support for datatype handling will eventually be
hung
.
* upon which full support for datatype handling will eventually be
built
.
*/
#include "config.h"
...
...
@@ -723,7 +723,7 @@ int DEBUG_GetObjectSize(struct datatype * dt)
*
DEBUG_GetObjectSize
(
dt
->
un
.
array
.
basictype
);
case
DT_BITFIELD
:
/*
* Bitfields have to be handled sep
e
rately later on
* Bitfields have to be handled sep
a
rately later on
* when we insert the element into the structure.
*/
return
0
;
...
...
dlls/comctl32/listview.c
View file @
282f7270
...
...
@@ -1872,7 +1872,7 @@ static LRESULT LISTVIEW_MouseHover(HWND hwnd, WPARAM wParam, LPARAM lParam)
/***
* DESCRIPTION:
* Called whenever WM_MOUSEMOVE is rec
ie
ved.
* Called whenever WM_MOUSEMOVE is rec
ei
ved.
*
* PARAMETER(S):
* [I] HWND : window handle
...
...
@@ -1901,7 +1901,7 @@ static LRESULT LISTVIEW_MouseMove(HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
!
(
trackinfo
.
dwFlags
&
TME_HOVER
))
{
trackinfo
.
dwFlags
=
TME_HOVER
;
/* call TRACKMOUSEEVENT so we rec
ie
ve WM_MOUSEHOVER messages */
/* call TRACKMOUSEEVENT so we rec
ei
ve WM_MOUSEHOVER messages */
_TrackMouseEvent
(
&
trackinfo
);
}
}
...
...
dlls/comctl32/pager.c
View file @
282f7270
...
...
@@ -946,11 +946,11 @@ PAGER_SetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
/* call _TrackMouseEvent to see if we are currently tracking for this hwnd */
_TrackMouseEvent
(
&
trackinfo
);
/* Make sure tracking is enabled so we rec
ie
ve a WM_MOUSELEAVE message */
/* Make sure tracking is enabled so we rec
ei
ve a WM_MOUSELEAVE message */
if
(
!
(
trackinfo
.
dwFlags
&
TME_LEAVE
))
{
trackinfo
.
dwFlags
=
TME_LEAVE
;
/* notify upon leaving */
/* call TRACKMOUSEEVENT so we rec
ie
ve a WM_MOUSELEAVE message */
/* call TRACKMOUSEEVENT so we rec
ei
ve a WM_MOUSELEAVE message */
/* and can properly deactivate the hot button */
_TrackMouseEvent
(
&
trackinfo
);
}
...
...
dlls/comctl32/toolbar.c
View file @
282f7270
...
...
@@ -3979,11 +3979,11 @@ TOOLBAR_MouseMove (HWND hwnd, WPARAM wParam, LPARAM lParam)
/* call _TrackMouseEvent to see if we are currently tracking for this hwnd */
_TrackMouseEvent
(
&
trackinfo
);
/* Make sure tracking is enabled so we rec
ie
ve a WM_MOUSELEAVE message */
/* Make sure tracking is enabled so we rec
ei
ve a WM_MOUSELEAVE message */
if
(
!
(
trackinfo
.
dwFlags
&
TME_LEAVE
))
{
trackinfo
.
dwFlags
=
TME_LEAVE
;
/* notify upon leaving */
/* call TRACKMOUSEEVENT so we rec
ie
ve a WM_MOUSELEAVE message */
/* call TRACKMOUSEEVENT so we rec
ei
ve a WM_MOUSELEAVE message */
/* and can properly deactivate the hot toolbar button */
_TrackMouseEvent
(
&
trackinfo
);
}
...
...
dlls/dplayx/dplay.c
View file @
282f7270
...
...
@@ -4015,7 +4015,7 @@ static HRESULT WINAPI DP_IF_InitializeConnection
TRACE
(
"Calling %s (SP entry point)
\n
"
,
bIsDpSp
?
"SPInit"
:
"DPLSPInit"
);
/* FIXME: Need to break this out into a sep
e
rate routine for DP SP and
/* FIXME: Need to break this out into a sep
a
rate routine for DP SP and
* DPL SP as they actually use different stuff...
*/
hr
=
(
*
SPInit
)(
&
This
->
dp2
->
spData
);
...
...
dlls/msvcrt/process.c
View file @
282f7270
...
...
@@ -82,7 +82,7 @@ static int __MSVCRT__spawn(int flags, const char *exe, char * args, char *env)
return
-
1
;
/* can't reach here */
}
/* INTERNAL: Convert argv list to a single 'delim'-sep
e
rated string */
/* INTERNAL: Convert argv list to a single 'delim'-sep
a
rated string */
static
char
*
__MSVCRT__argvtos
(
const
char
*
*
arg
,
char
delim
)
{
const
char
**
search
=
arg
;
...
...
dlls/ole32/antimoniker.c
View file @
282f7270
...
...
@@ -81,7 +81,7 @@ HRESULT WINAPI AntiMonikerImpl_Construct(AntiMonikerImpl* iface);
HRESULT
WINAPI
AntiMonikerImpl_Destroy
(
AntiMonikerImpl
*
iface
);
/********************************************************************************/
/* Virtual function table for the AntiMonikerImpl class w
itch include Ip
ersist,*/
/* Virtual function table for the AntiMonikerImpl class w
hich include IP
ersist,*/
/* IPersistStream and IMoniker functions. */
static
ICOM_VTABLE
(
IMoniker
)
VT_AntiMonikerImpl
=
{
...
...
dlls/ole32/bindctx.c
View file @
282f7270
...
...
@@ -40,11 +40,11 @@ typedef struct BindCtxImpl{
ULONG
ref
;
/* reference counter for this object */
BindCtxObject
*
bindCtxTable
;
/* this is a table in w
it
ch all bounded objects are stored*/
BindCtxObject
*
bindCtxTable
;
/* this is a table in w
hi
ch all bounded objects are stored*/
DWORD
bindCtxTableLastIndex
;
/* first free index in the table */
DWORD
bindCtxTableSize
;
/* size table */
BIND_OPTS2
bindOption2
;
/* a structure w
it
ch contains the bind options*/
BIND_OPTS2
bindOption2
;
/* a structure w
hi
ch contains the bind options*/
}
BindCtxImpl
;
...
...
dlls/ole32/clipboard.c
View file @
282f7270
...
...
@@ -1571,7 +1571,7 @@ static HRESULT WINAPI OLEClipbrd_IEnumFORMATETC_QueryInterface
TRACE
(
"(%p)->(
\n\t
IID:
\t
%s,%p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObj
);
/*
* Since enumerators are sep
e
rate objects from the parent data object
* Since enumerators are sep
a
rate objects from the parent data object
* we only need to support the IUnknown and IEnumFORMATETC interfaces
*/
...
...
dlls/ole32/compositemoniker.c
View file @
282f7270
...
...
@@ -123,8 +123,8 @@ static HRESULT WINAPI EnumMonikerImpl_Clone(IEnumMoniker* iface,IEnumMoniker** p
HRESULT
WINAPI
EnumMonikerImpl_CreateEnumMoniker
(
IMoniker
**
tabMoniker
,
ULONG
tabSize
,
ULONG
currentPos
,
BOOL
leftToRigth
,
IEnumMoniker
**
ppmk
);
/********************************************************************************/
/* Virtual function table for the CompositeMonikerImpl class w
itch include
*/
/* I
p
ersist, IPersistStream and IMoniker functions. */
/* Virtual function table for the CompositeMonikerImpl class w
hich includes
*/
/* I
P
ersist, IPersistStream and IMoniker functions. */
static
ICOM_VTABLE
(
IMoniker
)
VT_CompositeMonikerImpl
=
{
...
...
dlls/ole32/filemoniker.c
View file @
282f7270
...
...
@@ -88,7 +88,7 @@ int WINAPI FileMonikerImpl_DecomposePath(LPOLESTR str, LPOLESTR** tabStr);
/********************************************************************************/
/* Virtual function table for the FileMonikerImpl class w
itch include Ip
ersist,*/
/* Virtual function table for the FileMonikerImpl class w
hich include IP
ersist,*/
/* IPersistStream and IMoniker functions. */
static
ICOM_VTABLE
(
IMoniker
)
VT_FileMonikerImpl
=
{
...
...
@@ -318,7 +318,7 @@ HRESULT WINAPI FileMonikerImpl_Load(IMoniker* iface,IStream* pStm)
* FileMoniker_Save
******************************************************************************/
HRESULT
WINAPI
FileMonikerImpl_Save
(
IMoniker
*
iface
,
IStream
*
pStm
,
/* po
ni
ter to the stream where the object is to be saved */
IStream
*
pStm
,
/* po
in
ter to the stream where the object is to be saved */
BOOL
fClearDirty
)
/* Specifies whether to clear the dirty flag */
{
/* this function saves data of this object. In the begining I thougth that I have just to write
...
...
dlls/ole32/itemmoniker.c
View file @
282f7270
...
...
@@ -87,7 +87,7 @@ static ULONG WINAPI ItemMonikerROTDataImpl_Release(IROTData* iface);
static
HRESULT
WINAPI
ItemMonikerROTDataImpl_GetComparaisonData
(
IROTData
*
iface
,
BYTE
*
pbData
,
ULONG
cbMax
,
ULONG
*
pcbData
);
/********************************************************************************/
/* Virtual function table for the ItemMonikerImpl class w
itch include Ip
ersist,*/
/* Virtual function table for the ItemMonikerImpl class w
hich include IP
ersist,*/
/* IPersistStream and IMoniker functions. */
static
ICOM_VTABLE
(
IMoniker
)
VT_ItemMonikerImpl
=
{
...
...
@@ -342,9 +342,9 @@ HRESULT WINAPI ItemMonikerImpl_GetSizeMax(IMoniker* iface,
/* for more details see ItemMonikerImpl_Save coments */
pcbSize
->
s
.
LowPart
=
sizeof
(
DWORD
)
+
/* DWORD w
it
ch contains delimiter length */
pcbSize
->
s
.
LowPart
=
sizeof
(
DWORD
)
+
/* DWORD w
hi
ch contains delimiter length */
delimiterLength
+
/* item delimiter string */
sizeof
(
DWORD
)
+
/* DWORD w
it
ch contains item name length */
sizeof
(
DWORD
)
+
/* DWORD w
hi
ch contains item name length */
nameLength
+
/* item name string */
34
;
/* this constant was added ! because when I tested this function it usually */
/* returns 34 bytes more than the number of bytes used by IMoniker::Save function */
...
...
dlls/ole32/moniker.c
View file @
282f7270
...
...
@@ -203,10 +203,10 @@ HRESULT WINAPI RunningObjectTableImpl_Initialize()
/* the initial reference is set to "1" ! because if set to "0" it will be not practis when */
/* the ROT refered many times not in the same time (all the objects in the ROT will */
/* be removed evry time the ROT is removed ) */
/* be removed ev
e
ry time the ROT is removed ) */
runningObjectTableInstance
->
ref
=
1
;
/* allocate space memory for the table w
it
ch contains all the running objects */
/* allocate space memory for the table w
hi
ch contains all the running objects */
runningObjectTableInstance
->
runObjTab
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
RunObject
[
BLOCK_TAB_SIZE
]));
if
(
runningObjectTableInstance
->
runObjTab
==
NULL
)
...
...
@@ -250,7 +250,7 @@ HRESULT WINAPI RunningObjectTableImpl_Register(IRunningObjectTable* iface,
TRACE
(
"(%p,%ld,%p,%p,%p)
\n
"
,
This
,
grfFlags
,
punkObject
,
pmkObjectName
,
pdwRegister
);
/* there's only t
ow
types of register : strong and or weak registration (only one must be passed on parameter) */
/* there's only t
wo
types of register : strong and or weak registration (only one must be passed on parameter) */
if
(
(
(
grfFlags
&
ROTFLAGS_REGISTRATIONKEEPSALIVE
)
||
!
(
grfFlags
&
ROTFLAGS_ALLOWANYCLIENT
))
&&
(
!
(
grfFlags
&
ROTFLAGS_REGISTRATIONKEEPSALIVE
)
||
(
grfFlags
&
ROTFLAGS_ALLOWANYCLIENT
))
&&
(
grfFlags
)
)
...
...
dlls/ole32/storage32.c
View file @
282f7270
...
...
@@ -6403,7 +6403,7 @@ HRESULT OLECONVERT_CreateCompObjStream(LPSTORAGE pStorage, LPCSTR strOleTypeName
strcpy
(
IStorageCompObj
.
strOleTypeName
,
strOleTypeName
);
/* copy the OleTypeName to the compobj struct */
/* Note: in the test made, these w
h
ere Identical */
/* Note: in the test made, these were Identical */
IStorageCompObj
.
dwProgIDNameLength
=
strlen
(
strOleTypeName
)
+
1
;
strcpy
(
IStorageCompObj
.
strProgIDName
,
strOleTypeName
);
...
...
dlls/oleaut32/typelib.c
View file @
282f7270
...
...
@@ -1368,7 +1368,7 @@ ITypeInfoImpl * TLB_DoTypeInfo(
ptiRet
=
(
ITypeInfoImpl
*
)
ITypeInfo_Constructor
();
TLB_Read
(
&
tiBase
,
sizeof
(
tiBase
)
,
pcx
,
pcx
->
pTblDir
->
pTypeInfoTab
.
offset
+
count
*
sizeof
(
tiBase
));
/* this where we are coming from */
/* this
is
where we are coming from */
ptiRet
->
pTypeLib
=
pLibInfo
;
ptiRet
->
index
=
count
;
/* fill in the typeattr fields */
...
...
dlls/oleaut32/variant.c
View file @
282f7270
...
...
@@ -342,12 +342,12 @@ static BOOL DateToTm( DATE dateIn, LCID lcid, struct tm* pTm )
memset
(
pTm
,
0
,
sizeof
(
*
pTm
));
/* Because of the nature of DATE format w
it
ch
/* Because of the nature of DATE format w
hi
ch
* associates 2.0 to January 1, 1900. We will
* remove 1.0 from the whole part of the DATE
* so that in the following code 1.0
* will correspond to January 1, 1900.
* This simpl
y
fies the processing of the DATE value.
* This simpl
i
fies the processing of the DATE value.
*/
dateIn
-=
1
.
0
;
...
...
@@ -359,7 +359,7 @@ static BOOL DateToTm( DATE dateIn, LCID lcid, struct tm* pTm )
int
nDay
=
0
;
int
leapYear
=
0
;
double
yearsSince1900
=
0
;
/* Start at 1900, this where the DATE time 0.0 starts.
/* Start at 1900, this
is
where the DATE time 0.0 starts.
*/
pTm
->
tm_year
=
1900
;
/* find in what year the day in the "wholePart" falls into.
...
...
@@ -375,12 +375,12 @@ static BOOL DateToTm( DATE dateIn, LCID lcid, struct tm* pTm )
wholePart
++
;
}
/* find what day of that year
does
the "wholePart" corresponds to.
/* find what day of that year the "wholePart" corresponds to.
* Note: nDay is in [1-366] format
*/
nDay
=
(
int
)
(
wholePart
-
floor
(
yearsSince1900
*
DAYS_IN_ONE_YEAR
)
);
/* Set the tm_yday value.
* Note: The day
is
must be converted from [1-366] to [0-365]
* Note: The day must be converted from [1-366] to [0-365]
*/
/*pTm->tm_yday = nDay - 1;*/
/* find which mount this day corresponds to.
...
...
dlls/shell32/shlfolder.c
View file @
282f7270
...
...
@@ -338,7 +338,7 @@ static void SF_RegisterClipFmt (IGenericSFImpl * This)
}
/**************************************************************************
* we need a sep
e
rate IUnknown to handle aggregation
* we need a sep
a
rate IUnknown to handle aggregation
* (inner IUnknown)
*/
static
HRESULT
WINAPI
IUnknown_fnQueryInterface
(
...
...
dlls/user/ddeml.c
View file @
282f7270
...
...
@@ -1688,7 +1688,7 @@ BOOL WINAPI DdeSetUserHandle( HCONV hConv, DWORD id, DWORD hUser)
}
/******************************************************************************
* DdeGetData [USER32.@] Copies data from DDE object
ot
local buffer
* DdeGetData [USER32.@] Copies data from DDE object
to
local buffer
*
* RETURNS
* Size of memory object associated with handle
...
...
dlls/user/exticon.c
View file @
282f7270
...
...
@@ -374,7 +374,7 @@ static HRESULT ICO_ExtractIconExW(
);
goto
end
;
}
/* FIXME: doesn't work when the resources are not in a sep
e
rate section */
/* FIXME: doesn't work when the resources are not in a sep
a
rate section */
if
(
pe_sections
[
i
].
VirtualAddress
==
pe_header
->
OptionalHeader
.
DataDirectory
[
IMAGE_DIRECTORY_ENTRY_RESOURCE
].
VirtualAddress
)
{
rootresdir
=
(
PIMAGE_RESOURCE_DIRECTORY
)(
peimage
+
pe_sections
[
i
].
PointerToRawData
);
...
...
graphics/x11drv/graphics.c
View file @
282f7270
...
...
@@ -429,12 +429,12 @@ X11DRV_DrawArc( DC *dc, INT left, INT top, INT right,
points
[
1
].
y
=
(
int
)
floor
(
dc
->
DCOrgY
+
(
top
+
bottom
)
/
2
.
0
-
sin
(
end_angle
)
*
(
bottom
-
top
-
width
*
2
+
2
)
/
2
.
+
0
.
5
);
/* OK this stuff is optimized for Xfree86
* which is probably the
most used server
by
/* OK
,
this stuff is optimized for Xfree86
* which is probably the
server most used
by
* wine users. Other X servers will not
* display correctly. (eXceed for instance)
* so if you feel you must
change
make sure that
* you either use Xfree86 or sep
e
rate your changes
* so if you feel you must
make changes,
make sure that
* you either use Xfree86 or sep
a
rate your changes
* from these (compile switch or whatever)
*/
if
(
lines
==
2
)
{
...
...
include/ddraw.h
View file @
282f7270
...
...
@@ -283,7 +283,7 @@ typedef struct IDirectDrawGammaControl IDirectDrawGammaControl,*LPDIRECTDRAWGAMM
#define DDSCAPS_RESERVED2 0x00800000
/* memory allocation delayed until Load() */
#define DDSCAPS_ALLOCONLOAD 0x04000000
/* Indicates that the surface will rec
ie
ve data from a video port */
/* Indicates that the surface will rec
ei
ve data from a video port */
#define DDSCAPS_VIDEOPORT 0x08000000
/* surface is in local videomemory */
#define DDSCAPS_LOCALVIDMEM 0x10000000
...
...
objects/metafile.c
View file @
282f7270
...
...
@@ -1355,7 +1355,7 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
* 2 Looks like a handle? - not constant
* 3 0 or 1 ??
* 4 Total number of bytes
* 5 No. of sep
e
rate bands = n [see below]
* 5 No. of sep
a
rate bands = n [see below]
* 6 Largest number of x co-ords in a band
* 7-10 Bounding box x1 y1 x2 y2
* 11-... n bands
...
...
programs/notepad/main.c
View file @
282f7270
...
...
@@ -16,7 +16,7 @@
* - free unused memory
* - solve Open problems
* - smoother scrolling
* - sep
e
rate view code and document code
* - sep
a
rate view code and document code
*
* This program is intended as a testbed for winelib as much as
* a useful application.
...
...
win32/device.c
View file @
282f7270
...
...
@@ -692,7 +692,7 @@ static DWORD VxDCall_VMM( DWORD service, CONTEXT86 *context )
ERR
(
"Can't reserve ring 1 memory
\n
"
);
return
-
1
;
}
/* FIXME: This has to be handled sep
eratly, when we have sepe
rate
/* FIXME: This has to be handled sep
arately, when we have sepa
rate
address-spaces */
if
(
page
==
PR_PRIVATE
||
page
==
PR_SHARED
)
page
=
0
;
/* FIXME: Handle flags in some way */
...
...
windows/winpos.c
View file @
282f7270
...
...
@@ -2954,7 +2954,7 @@ Pos: /* -----------------------------------------------------------------------
/* Use PAINT_RedrawWindow to explicitly force an invalidation of the window,
its parent and sibling and so on, and then erase the parent window
back
ground if the parent is either a top-level window or its parent's parent
background if the parent is either a top-level window or its parent's parent
is top-level window. Rely on the system to repaint other affected
windows later on. */
if
(
uFlags
&
SWP_EX_PAINTSELF
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment