Assorted spelling fixes.
This commit is contained in:
parent
16e8689008
commit
fbb3343547
|
@ -1956,7 +1956,7 @@ REBAR_ValidateBand (REBAR_INFO *infoPtr, REBAR_BAND *lpBand)
|
||||||
infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
|
infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
|
||||||
|
|
||||||
/* Header is where the image, text and gripper exist */
|
/* Header is where the image, text and gripper exist */
|
||||||
/* in the band and preceed the child window. */
|
/* in the band and precede the child window. */
|
||||||
|
|
||||||
/* count number of non-FIXEDSIZE and non-Hidden bands */
|
/* count number of non-FIXEDSIZE and non-Hidden bands */
|
||||||
nonfixed = 0;
|
nonfixed = 0;
|
||||||
|
|
|
@ -513,7 +513,7 @@ static VOID SYSLINK_RepaintLink (SYSLINK_INFO *infoPtr, PDOC_ITEM DocItem)
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SYSLINK_GetLinkItemByIndex
|
* SYSLINK_GetLinkItemByIndex
|
||||||
* Retreives a document link by it's index
|
* Retrieves a document link by its index
|
||||||
*/
|
*/
|
||||||
static PDOC_ITEM SYSLINK_GetLinkItemByIndex (SYSLINK_INFO *infoPtr, int iLink)
|
static PDOC_ITEM SYSLINK_GetLinkItemByIndex (SYSLINK_INFO *infoPtr, int iLink)
|
||||||
{
|
{
|
||||||
|
@ -532,7 +532,7 @@ static PDOC_ITEM SYSLINK_GetLinkItemByIndex (SYSLINK_INFO *infoPtr, int iLink)
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SYSLINK_GetFocusLink
|
* SYSLINK_GetFocusLink
|
||||||
* Retreives the link that has the LIS_FOCUSED bit
|
* Retrieves the link that has the LIS_FOCUSED bit
|
||||||
*/
|
*/
|
||||||
static PDOC_ITEM SYSLINK_GetFocusLink (SYSLINK_INFO *infoPtr, int *LinkId)
|
static PDOC_ITEM SYSLINK_GetFocusLink (SYSLINK_INFO *infoPtr, int *LinkId)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1207,7 +1207,7 @@ static void REGION_UnionRectWithRegion(const RECT *rect, WINEREGION *rgn)
|
||||||
* Create a region that is a frame around another region.
|
* Create a region that is a frame around another region.
|
||||||
* Compute the intersection of the region moved in all 4 directions
|
* Compute the intersection of the region moved in all 4 directions
|
||||||
* ( +x, -x, +y, -y) and subtract from the original.
|
* ( +x, -x, +y, -y) and subtract from the original.
|
||||||
* The result looks slightly better then in Windows :)
|
* The result looks slightly better than in Windows :)
|
||||||
*/
|
*/
|
||||||
BOOL REGION_FrameRgn( HRGN hDest, HRGN hSrc, INT x, INT y )
|
BOOL REGION_FrameRgn( HRGN hDest, HRGN hSrc, INT x, INT y )
|
||||||
{
|
{
|
||||||
|
@ -2170,7 +2170,7 @@ static void REGION_SubtractO (WINEREGION *pReg, RECT *r1, RECT *r1End,
|
||||||
else if (r2->left <= left)
|
else if (r2->left <= left)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Subtrahend preceeds minuend: nuke left edge of minuend.
|
* Subtrahend precedes minuend: nuke left edge of minuend.
|
||||||
*/
|
*/
|
||||||
left = r2->right;
|
left = r2->right;
|
||||||
if (left >= r1->right)
|
if (left >= r1->right)
|
||||||
|
|
|
@ -608,7 +608,7 @@ static BOOL build_command_line( WCHAR **argv )
|
||||||
if (*a==' ' || *a=='\t') {
|
if (*a==' ' || *a=='\t') {
|
||||||
has_space=1;
|
has_space=1;
|
||||||
} else if (*a=='"') {
|
} else if (*a=='"') {
|
||||||
/* doubling of '\' preceeding a '"',
|
/* doubling of '\' preceding a '"',
|
||||||
* plus escaping of said '"'
|
* plus escaping of said '"'
|
||||||
*/
|
*/
|
||||||
len+=2*bcount+1;
|
len+=2*bcount+1;
|
||||||
|
@ -667,7 +667,7 @@ static BOOL build_command_line( WCHAR **argv )
|
||||||
if (*a=='"') {
|
if (*a=='"') {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Double all the '\\' preceeding this '"', plus one */
|
/* Double all the '\\' preceding this '"', plus one */
|
||||||
for (i=0;i<=bcount;i++)
|
for (i=0;i<=bcount;i++)
|
||||||
*p++='\\';
|
*p++='\\';
|
||||||
*p++='"';
|
*p++='"';
|
||||||
|
|
|
@ -583,8 +583,9 @@ static void test_CopyFileA(void)
|
||||||
ok(ret == sizeof(prefix), "destination file has wrong size %ld\n", ret);
|
ok(ret == sizeof(prefix), "destination file has wrong size %ld\n", ret);
|
||||||
|
|
||||||
/* make sure that destination has the same filetime */
|
/* make sure that destination has the same filetime */
|
||||||
|
ok(ret = GetFileTime(hfile, NULL, NULL, &ft1), "GetFileTime error %ld\n", GetLastError());
|
||||||
ok(ret = GetFileTime(hfile, NULL, NULL, &ft2), "GetFileTime error %ld\n", GetLastError());
|
ok(ret = GetFileTime(hfile, NULL, NULL, &ft2), "GetFileTime error %ld\n", GetLastError());
|
||||||
ok(CompareFileTime(&ft1, &ft2) == 0, "destination file has wrong filetime");
|
ok(CompareFileTime(&ft1, &ft2) == 0, "destination file has wrong filetime\n");
|
||||||
|
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ret = CopyFileA(source, dest, FALSE);
|
ret = CopyFileA(source, dest, FALSE);
|
||||||
|
|
|
@ -2299,8 +2299,8 @@ static UINT SetFeatureStates(MSIPACKAGE *package)
|
||||||
install_level = 1;
|
install_level = 1;
|
||||||
|
|
||||||
/* ok hereis the _real_ rub
|
/* ok hereis the _real_ rub
|
||||||
* all these activation/deactiontion things happen in order and things later
|
* all these activation/deactivation things happen in order and things
|
||||||
* on the list override things earlier on the list.
|
* later on the list override things earlier on the list.
|
||||||
* 1) INSTALLLEVEL processing
|
* 1) INSTALLLEVEL processing
|
||||||
* 2) ADDLOCAL
|
* 2) ADDLOCAL
|
||||||
* 3) REMOVE
|
* 3) REMOVE
|
||||||
|
@ -2312,13 +2312,13 @@ static UINT SetFeatureStates(MSIPACKAGE *package)
|
||||||
* 9) FILEADDLOCAL
|
* 9) FILEADDLOCAL
|
||||||
* 10) FILEADDSOURCE
|
* 10) FILEADDSOURCE
|
||||||
* 11) FILEADDDEFAULT
|
* 11) FILEADDDEFAULT
|
||||||
* I have confirmed this if ADDLOCALis stated then the INSTALLLEVEL is
|
* I have confirmed that if ADDLOCAL is stated then the INSTALLLEVEL is
|
||||||
* itnored for all the features. seems strange, epsecially since it is not
|
* ignored for all the features. seems strange, especially since it is not
|
||||||
* documented anywhere, but it is how it works.
|
* documented anywhere, but it is how it works.
|
||||||
*
|
*
|
||||||
* I am still ignoring a lot of these. But that is ok for now, ADDLOCAL and
|
* I am still ignoring a lot of these. But that is ok for now, ADDLOCAL and
|
||||||
* REMOVE are the big ones, since we dont handle administrative installs yet
|
* REMOVE are the big ones, since we don't handle administrative installs
|
||||||
* anyway.
|
* yet anyway.
|
||||||
*/
|
*/
|
||||||
override |= process_state_property(package,szAddLocal,INSTALLSTATE_LOCAL);
|
override |= process_state_property(package,szAddLocal,INSTALLSTATE_LOCAL);
|
||||||
override |= process_state_property(package,szRemove,INSTALLSTATE_ABSENT);
|
override |= process_state_property(package,szRemove,INSTALLSTATE_ABSENT);
|
||||||
|
|
|
@ -1176,7 +1176,7 @@ INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR szProduct, LPCWSTR szComponent,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* PROBIBLY a file */
|
/* PROBABLY a file */
|
||||||
if ( GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES )
|
if ( GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES )
|
||||||
rrc = INSTALLSTATE_LOCAL;
|
rrc = INSTALLSTATE_LOCAL;
|
||||||
else
|
else
|
||||||
|
|
|
@ -1971,7 +1971,7 @@ int _write(int fd, const void* buf, unsigned int count)
|
||||||
{
|
{
|
||||||
unsigned int i, j, nr_lf;
|
unsigned int i, j, nr_lf;
|
||||||
char *s =(char*)buf, *buf_start=(char*)buf, *p;
|
char *s =(char*)buf, *buf_start=(char*)buf, *p;
|
||||||
/* find number of \n ( without preceeding \r */
|
/* find number of \n ( without preceding \r ) */
|
||||||
for ( nr_lf=0,i = 0; i <count; i++)
|
for ( nr_lf=0,i = 0; i <count; i++)
|
||||||
{
|
{
|
||||||
if (s[i]== '\n')
|
if (s[i]== '\n')
|
||||||
|
|
|
@ -1212,7 +1212,7 @@ NTSTATUS WINAPI RtlCheckRegistryKey(IN ULONG RelativeTo, IN PWSTR Path)
|
||||||
* ValueName [I] Name of the value to delete
|
* ValueName [I] Name of the value to delete
|
||||||
*
|
*
|
||||||
* RETURNS
|
* RETURNS
|
||||||
* STATUS_SUCCESS if the specified key is sucesfully deleted, or an NTSTATUS error code.
|
* STATUS_SUCCESS if the specified key is successfully deleted, or an NTSTATUS error code.
|
||||||
*/
|
*/
|
||||||
NTSTATUS WINAPI RtlDeleteRegistryValue(IN ULONG RelativeTo, IN PCWSTR Path, IN PCWSTR ValueName)
|
NTSTATUS WINAPI RtlDeleteRegistryValue(IN ULONG RelativeTo, IN PCWSTR Path, IN PCWSTR ValueName)
|
||||||
{
|
{
|
||||||
|
|
|
@ -799,7 +799,7 @@ LRESULT CALLBACK OLEClipbrd_WndProc
|
||||||
* (Recall that in OleSetClipboard, we used SetClipboardData to
|
* (Recall that in OleSetClipboard, we used SetClipboardData to
|
||||||
* make all HGLOBAL formats supported by the source IDataObject
|
* make all HGLOBAL formats supported by the source IDataObject
|
||||||
* available using delayed rendering)
|
* available using delayed rendering)
|
||||||
* On receiving this mesage we must actually render the data in the
|
* On receiving this message we must actually render the data in the
|
||||||
* specified format and place it on the clipboard by calling the
|
* specified format and place it on the clipboard by calling the
|
||||||
* SetClipboardData function.
|
* SetClipboardData function.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4117,7 +4117,7 @@ static ULONG WINAPI ITypeInfo_fnRelease(ITypeInfo2 *iface)
|
||||||
|
|
||||||
if (ref) {
|
if (ref) {
|
||||||
/* We don't release ITypeLib when ref=0 because
|
/* We don't release ITypeLib when ref=0 because
|
||||||
it means that funtion is called by ITypeLi2_Release */
|
it means that function is called by ITypeLib2_Release */
|
||||||
ITypeLib2_Release((ITypeLib2*)This->pTypeLib);
|
ITypeLib2_Release((ITypeLib2*)This->pTypeLib);
|
||||||
} else {
|
} else {
|
||||||
FIXME("destroy child objects\n");
|
FIXME("destroy child objects\n");
|
||||||
|
|
|
@ -94,7 +94,7 @@ static const WCHAR szPercentZeroStar_d[] = { '%','0','*','d','\0' };
|
||||||
* characters. Literal characters are copied unmodified to the formatted
|
* characters. Literal characters are copied unmodified to the formatted
|
||||||
* output at the position they occupy in the format string. Any character
|
* output at the position they occupy in the format string. Any character
|
||||||
* that is not recognised as a token is treated as a literal. A literal can
|
* that is not recognised as a token is treated as a literal. A literal can
|
||||||
* also be specified by preceeding it with a backslash character
|
* also be specified by preceding it with a backslash character
|
||||||
* (e.g. "\L\i\t\e\r\a\l") or enclosing it in double quotes.
|
* (e.g. "\L\i\t\e\r\a\l") or enclosing it in double quotes.
|
||||||
*
|
*
|
||||||
* A user-defined format can have up to 4 sections, depending on the type of
|
* A user-defined format can have up to 4 sections, depending on the type of
|
||||||
|
|
|
@ -887,8 +887,8 @@ char buf[rtfBufSiz];
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert a CaracterSetMap (caracter_name, caracter) into
|
* Convert a CharSetMap (character_name, character) into
|
||||||
* this form : array[caracter_ident] = caracter;
|
* this form : array[character_ident] = character;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int RTFReadCharSetMap(RTF_Info *info, int csId)
|
int RTFReadCharSetMap(RTF_Info *info, int csId)
|
||||||
|
|
|
@ -149,7 +149,7 @@ static LRESULT WINAPI RICHED32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
||||||
newstyle &= ~ES_NUMBER; /* Reused as ES_DISABLENOSCROLL */
|
newstyle &= ~ES_NUMBER; /* Reused as ES_DISABLENOSCROLL */
|
||||||
SetWindowLongA(hwnd,GWL_STYLE, newstyle);
|
SetWindowLongA(hwnd,GWL_STYLE, newstyle);
|
||||||
|
|
||||||
/* Note that SetWindowLongA(hwnd,GWL_STYLE...) doesnt update
|
/* Note that SetWindowLongA(hwnd,GWL_STYLE...) does not update
|
||||||
the style field in the text window as the edit structure is
|
the style field in the text window as the edit structure is
|
||||||
not initialized until it processes this message. Therefore
|
not initialized until it processes this message. Therefore
|
||||||
update the style in the message itself */
|
update the style in the message itself */
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* - a right mousebutton-copy sets the following formats:
|
* - a right mousebutton-copy sets the following formats:
|
||||||
* classic:
|
* classic:
|
||||||
* Shell IDList Array
|
* Shell IDList Array
|
||||||
* Prefered Drop Effect
|
* Preferred Drop Effect
|
||||||
* Shell Object Offsets
|
* Shell Object Offsets
|
||||||
* HDROP
|
* HDROP
|
||||||
* FileName
|
* FileName
|
||||||
|
|
|
@ -650,7 +650,7 @@ static HRESULT Stream_LoadAdvertiseInfo( IStream* stm, LPWSTR *str )
|
||||||
size = sizeof buffer - sizeof (DWORD);
|
size = sizeof buffer - sizeof (DWORD);
|
||||||
if( buffer.size != sizeof buffer )
|
if( buffer.size != sizeof buffer )
|
||||||
{
|
{
|
||||||
ERR("Ooops. This structure is different to expected...\n");
|
ERR("Ooops. This structure is not as expected...\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -865,7 +865,7 @@ static HRESULT Stream_WriteString( IStream* stm, LPCWSTR str )
|
||||||
*
|
*
|
||||||
* FIXME: One day we might want to write the network volume information
|
* FIXME: One day we might want to write the network volume information
|
||||||
* and the final path.
|
* and the final path.
|
||||||
* Figure out how Windows deals with unicode pathes here.
|
* Figure out how Windows deals with unicode paths here.
|
||||||
*/
|
*/
|
||||||
static HRESULT Stream_WriteLocationInfo( IStream* stm, LPCWSTR path,
|
static HRESULT Stream_WriteLocationInfo( IStream* stm, LPCWSTR path,
|
||||||
volume_info *volume )
|
volume_info *volume )
|
||||||
|
|
|
@ -303,7 +303,7 @@ static ULONG WINAPI IShellFolder_fnRelease (IShellFolder2 * iface)
|
||||||
*
|
*
|
||||||
* If the caller bound File System Bind Data, assume it is the
|
* If the caller bound File System Bind Data, assume it is the
|
||||||
* find data for the path.
|
* find data for the path.
|
||||||
* This allows binding of pathes that don't exist.
|
* This allows binding of paths that don't exist.
|
||||||
*/
|
*/
|
||||||
LPITEMIDLIST SHELL32_CreatePidlFromBindCtx(IBindCtx *pbc, LPCWSTR path)
|
LPITEMIDLIST SHELL32_CreatePidlFromBindCtx(IBindCtx *pbc, LPCWSTR path)
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
* - a popup window (InstanceClass) is created for each instance.
|
* - a popup window (InstanceClass) is created for each instance.
|
||||||
* - this window is used to receive all the DDEML events (server registration,
|
* - this window is used to receive all the DDEML events (server registration,
|
||||||
* conversation confirmation...). See the WM_WDML_???? messages for details
|
* conversation confirmation...). See the WM_WDML_???? messages for details
|
||||||
* + when registring a server (DdeNameService) a WDML_SERVER is created
|
* + when registering a server (DdeNameService) a WDML_SERVER is created
|
||||||
* - a popup window (ServerNameClass) is created
|
* - a popup window (ServerNameClass) is created
|
||||||
* + a conversation is represented by two WDML_CONV structures:
|
* + a conversation is represented by two WDML_CONV structures:
|
||||||
* - one on the client side, the other one on the server side
|
* - one on the client side, the other one on the server side
|
||||||
|
|
|
@ -1092,7 +1092,7 @@ static void test_SPI_SETWORKAREA( void ) /* 47 */
|
||||||
/* Modify the work area only minimally as this causes the icons that
|
/* Modify the work area only minimally as this causes the icons that
|
||||||
* fall outside it to be moved around thus requiring the user to
|
* fall outside it to be moved around thus requiring the user to
|
||||||
* reposition them manually one by one.
|
* reposition them manually one by one.
|
||||||
* Changing the work area by just one pixel should make this occurence
|
* Changing the work area by just one pixel should make this occurrence
|
||||||
* reasonably unlikely.
|
* reasonably unlikely.
|
||||||
*/
|
*/
|
||||||
curr_val.left = old_area.left;
|
curr_val.left = old_area.left;
|
||||||
|
|
|
@ -623,7 +623,7 @@ void WINAPI VXD_Win32s( CONTEXT86 *context )
|
||||||
* and StackLinearToSegmented for the byte sequence '0F 01 04'
|
* and StackLinearToSegmented for the byte sequence '0F 01 04'
|
||||||
* (this is the opcode of 'sgdt [si]'). We then search backwards
|
* (this is the opcode of 'sgdt [si]'). We then search backwards
|
||||||
* from this address for the last occurrence of 'CB' (retf) that marks
|
* from this address for the last occurrence of 'CB' (retf) that marks
|
||||||
* the end of the preceeding function. The following byte (which
|
* the end of the preceding function. The following byte (which
|
||||||
* should now be the first byte of the function we are looking for)
|
* should now be the first byte of the function we are looking for)
|
||||||
* will be replaced by 'CB' (retf).
|
* will be replaced by 'CB' (retf).
|
||||||
*
|
*
|
||||||
|
|
|
@ -1322,7 +1322,7 @@ static BOOL wodUpdatePlayedTotal(WINE_WAVEOUT* wwo, audio_buf_info* info)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GETOSPACE is not always accurate when we're down to the last fragment or two;
|
/* GETOSPACE is not always accurate when we're down to the last fragment or two;
|
||||||
** we try to accomodate that here by assuming that the dsp is empty by looking
|
** we try to accommodate that here by assuming that the dsp is empty by looking
|
||||||
** at the clock rather than the result of GETOSPACE */
|
** at the clock rather than the result of GETOSPACE */
|
||||||
notplayed = wwo->dwBufferSize - info->bytes;
|
notplayed = wwo->dwBufferSize - info->bytes;
|
||||||
if (notplayed > 0 && notplayed < (info->fragsize * 2))
|
if (notplayed > 0 && notplayed < (info->fragsize * 2))
|
||||||
|
|
|
@ -300,7 +300,7 @@
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Win 9x roots its architecture in 16 bit systems, while
|
Win 9x roots its architecture in 16 bit systems, while
|
||||||
NT is truely a 32 bit system.
|
NT is truly a 32 bit system.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<para>
|
<para>
|
||||||
Once you've decided that Wine is right for your needs, the next step is
|
Once you've decided that Wine is right for your needs, the next step is
|
||||||
to decide how you want to install it. There are three methods for
|
to decide how you want to install it. There are three methods for
|
||||||
installing Wine from Winehq, each with their own advantages and
|
installing Wine from WineHQ, each with their own advantages and
|
||||||
disadvantages.
|
disadvantages.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
* - Finally the set of 'IDirect3D_Xxx' macros is a standard set of macros defined to ease access
|
* - Finally the set of 'IDirect3D_Xxx' macros is a standard set of macros defined to ease access
|
||||||
* to the interface methods in C. Unfortunately I don't see any way to avoid having to duplicate
|
* to the interface methods in C. Unfortunately I don't see any way to avoid having to duplicate
|
||||||
* the inherited method definitions there. This time I could have used a trick to use only one
|
* the inherited method definitions there. This time I could have used a trick to use only one
|
||||||
* macro whatever the number of parameters but I prefered to have it work the same way as above.
|
* macro whatever the number of parameters but I preferred to have it work the same way as above.
|
||||||
* - You probably have noticed that we don't define the fields we need to actually implement this
|
* - You probably have noticed that we don't define the fields we need to actually implement this
|
||||||
* interface: reference count, pointer to other resources and miscellaneous fields. That's
|
* interface: reference count, pointer to other resources and miscellaneous fields. That's
|
||||||
* because these interfaces are just that: interfaces. They may be implemented more than once, in
|
* because these interfaces are just that: interfaces. They may be implemented more than once, in
|
||||||
|
|
|
@ -728,7 +728,7 @@ LRESULT CALLBACK EXPORT mainWindowDispatcher(
|
||||||
MessageBox(hWnd, "Finding next occurrence.", "Findnext", MB_OK);
|
MessageBox(hWnd, "Finding next occurrence.", "Findnext", MB_OK);
|
||||||
}
|
}
|
||||||
else if (lpfr->Flags & FR_REPLACE) {
|
else if (lpfr->Flags & FR_REPLACE) {
|
||||||
MessageBox(hWnd, "Replacing next occurence.", "Replace", MB_OK);
|
MessageBox(hWnd, "Replacing next occurrence.", "Replace", MB_OK);
|
||||||
}
|
}
|
||||||
else if (lpfr->Flags & FR_REPLACEALL) {
|
else if (lpfr->Flags & FR_REPLACEALL) {
|
||||||
MessageBox(hWnd, "Replacing all occurrences.", "Replace All", MB_OK);
|
MessageBox(hWnd, "Replacing all occurrences.", "Replace All", MB_OK);
|
||||||
|
|
|
@ -107,7 +107,7 @@ int main (int argc, char *argv[])
|
||||||
if (*a==' ' || *a=='\t') {
|
if (*a==' ' || *a=='\t') {
|
||||||
has_space=1;
|
has_space=1;
|
||||||
} else if (*a=='"') {
|
} else if (*a=='"') {
|
||||||
/* doubling of '\' preceeding a '"',
|
/* doubling of '\' preceding a '"',
|
||||||
* plus escaping of said '"'
|
* plus escaping of said '"'
|
||||||
*/
|
*/
|
||||||
len+=2*bcount+1;
|
len+=2*bcount+1;
|
||||||
|
@ -165,7 +165,7 @@ int main (int argc, char *argv[])
|
||||||
if (*a=='"') {
|
if (*a=='"') {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Double all the '\\' preceeding this '"', plus one */
|
/* Double all the '\\' preceding this '"', plus one */
|
||||||
for (i=0;i<=bcount;i++)
|
for (i=0;i<=bcount;i++)
|
||||||
*p++='\\';
|
*p++='\\';
|
||||||
*p++='"';
|
*p++='"';
|
||||||
|
|
|
@ -223,7 +223,7 @@ static BOOL pendingRename()
|
||||||
}
|
}
|
||||||
|
|
||||||
res=RegQueryValueExW( hSession, ValueName, NULL, NULL /* The value type does not really interest us, as it is not
|
res=RegQueryValueExW( hSession, ValueName, NULL, NULL /* The value type does not really interest us, as it is not
|
||||||
truely a REG_MULTI_SZ anyways */,
|
truly a REG_MULTI_SZ anyways */,
|
||||||
NULL, &dataLength );
|
NULL, &dataLength );
|
||||||
if( res==ERROR_FILE_NOT_FOUND )
|
if( res==ERROR_FILE_NOT_FOUND )
|
||||||
{
|
{
|
||||||
|
|
|
@ -1215,7 +1215,7 @@ static void db_print_address(const char *seg, int size, struct i_addr *addrp, in
|
||||||
else {
|
else {
|
||||||
|
|
||||||
/* try to get destination of indirect call
|
/* try to get destination of indirect call
|
||||||
does not work for segmented adresses */
|
does not work for segmented addresses */
|
||||||
if (!seg && byref) {
|
if (!seg && byref) {
|
||||||
void* a1;
|
void* a1;
|
||||||
void* a2;
|
void* a2;
|
||||||
|
|
|
@ -59,7 +59,7 @@ static char *build_command_line( char **argv )
|
||||||
if (*a==' ' || *a=='\t') {
|
if (*a==' ' || *a=='\t') {
|
||||||
has_space=1;
|
has_space=1;
|
||||||
} else if (*a=='"') {
|
} else if (*a=='"') {
|
||||||
/* doubling of '\' preceeding a '"',
|
/* doubling of '\' preceding a '"',
|
||||||
* plus escaping of said '"'
|
* plus escaping of said '"'
|
||||||
*/
|
*/
|
||||||
len+=2*bcount+1;
|
len+=2*bcount+1;
|
||||||
|
@ -117,7 +117,7 @@ static char *build_command_line( char **argv )
|
||||||
if (*a=='"') {
|
if (*a=='"') {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Double all the '\\' preceeding this '"', plus one */
|
/* Double all the '\\' preceding this '"', plus one */
|
||||||
for (i=0;i<=bcount;i++)
|
for (i=0;i<=bcount;i++)
|
||||||
*p++='\\';
|
*p++='\\';
|
||||||
*p++='"';
|
*p++='"';
|
||||||
|
|
|
@ -195,7 +195,7 @@ static void write_function_stubs(type_t *iface)
|
||||||
fprintf(client, "\n");
|
fprintf(client, "\n");
|
||||||
|
|
||||||
|
|
||||||
/* send/recieve message */
|
/* send/receive message */
|
||||||
/* print_client("NdrNsSendReceive(\n"); */
|
/* print_client("NdrNsSendReceive(\n"); */
|
||||||
print_client("NdrSendReceive(\n");
|
print_client("NdrSendReceive(\n");
|
||||||
indent++;
|
indent++;
|
||||||
|
|
|
@ -356,7 +356,7 @@ specified.
|
||||||
will be the name available for dynamic
|
will be the name available for dynamic
|
||||||
linking.
|
linking.
|
||||||
.I data
|
.I data
|
||||||
can be a decimal number or a hex number preceeded by "0x". The
|
can be a decimal number or a hex number preceded by "0x". The
|
||||||
following example defines the variable VariableA at ordinal 2 and
|
following example defines the variable VariableA at ordinal 2 and
|
||||||
containing 4 ints:
|
containing 4 ints:
|
||||||
.IP
|
.IP
|
||||||
|
@ -404,7 +404,7 @@ This declaration defines an ordinal as an absolute value.
|
||||||
.I exportname
|
.I exportname
|
||||||
will be the name available for dynamic linking.
|
will be the name available for dynamic linking.
|
||||||
.I data
|
.I data
|
||||||
can be a decimal number or a hex number preceeded by "0x".
|
can be a decimal number or a hex number preceded by "0x".
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
.B winebuild
|
.B winebuild
|
||||||
has been worked on by many people over the years. The main authors are
|
has been worked on by many people over the years. The main authors are
|
||||||
|
|
|
@ -355,9 +355,9 @@ static void dump_dir_exported_functions(void)
|
||||||
printf(" Ordinal base: %lu\n", exportDir->Base);
|
printf(" Ordinal base: %lu\n", exportDir->Base);
|
||||||
printf(" # of functions: %lu\n", exportDir->NumberOfFunctions);
|
printf(" # of functions: %lu\n", exportDir->NumberOfFunctions);
|
||||||
printf(" # of Names: %lu\n", exportDir->NumberOfNames);
|
printf(" # of Names: %lu\n", exportDir->NumberOfNames);
|
||||||
printf("Adresses of functions: %08lX\n", exportDir->AddressOfFunctions);
|
printf("Addresses of functions: %08lX\n", exportDir->AddressOfFunctions);
|
||||||
printf("Adresses of name ordinals: %08lX\n", exportDir->AddressOfNameOrdinals);
|
printf("Addresses of name ordinals: %08lX\n", exportDir->AddressOfNameOrdinals);
|
||||||
printf("Adresses of names: %08lX\n", exportDir->AddressOfNames);
|
printf("Addresses of names: %08lX\n", exportDir->AddressOfNames);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" Entry Pt Ordn Name\n");
|
printf(" Entry Pt Ordn Name\n");
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ static const char *swap_after[] =
|
||||||
|
|
||||||
|
|
||||||
/* Items containing these substrings are assumed to be wide character
|
/* Items containing these substrings are assumed to be wide character
|
||||||
* strings, unless they contain more that one '*'. A preceeding 'LP'
|
* strings, unless they contain more that one '*'. A preceding 'LP'
|
||||||
* counts as a '*', so 'LPWCSTR *' is a pointer, not a string
|
* counts as a '*', so 'LPWCSTR *' is a pointer, not a string
|
||||||
*/
|
*/
|
||||||
static const char *wide_strings[] =
|
static const char *wide_strings[] =
|
||||||
|
@ -55,7 +55,7 @@ static const char *wide_strings[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Items containing these substrings are assumed to be wide characters,
|
/* Items containing these substrings are assumed to be wide characters,
|
||||||
* unless they contain one '*'. A preceeding 'LP' counts as a '*',
|
* unless they contain one '*'. A preceding 'LP' counts as a '*',
|
||||||
* so 'WCHAR *' is string, while 'LPWCHAR *' is a pointer
|
* so 'WCHAR *' is string, while 'LPWCHAR *' is a pointer
|
||||||
*/
|
*/
|
||||||
static const char *wide_chars[] =
|
static const char *wide_chars[] =
|
||||||
|
|
|
@ -458,7 +458,7 @@ resources
|
||||||
* for tNL. However, byacc already generates an error upon reading
|
* for tNL. However, byacc already generates an error upon reading
|
||||||
* the token instead of keeping it as a lookahead. The reason
|
* the token instead of keeping it as a lookahead. The reason
|
||||||
* lies in the lack of a $default transition in the "expr : xpr . "
|
* lies in the lack of a $default transition in the "expr : xpr . "
|
||||||
* state (currently state 25). It is probably ommitted because tNL
|
* state (currently state 25). It is probably omitted because tNL
|
||||||
* is a non-terminal and the state contains 2 s/r conflicts. The
|
* is a non-terminal and the state contains 2 s/r conflicts. The
|
||||||
* state enumerates all possible transitions instead of using a
|
* state enumerates all possible transitions instead of using a
|
||||||
* $default transition.
|
* $default transition.
|
||||||
|
|
Loading…
Reference in New Issue