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
8a18e0e4
Commit
8a18e0e4
authored
Apr 07, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
e1ee7a3b
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
38 additions
and
38 deletions
+38
-38
rmc.nls
dlls/kernel32/nls/rmc.nls
+1
-1
olefont.c
dlls/oleaut32/tests/olefont.c
+1
-1
vartest.c
dlls/oleaut32/tests/vartest.c
+1
-1
typelib.c
dlls/oleaut32/typelib.c
+1
-1
winstation.c
dlls/user32/tests/winstation.c
+2
-2
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-2
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+2
-2
device.c
dlls/wined3d/device.c
+2
-2
directx.c
dlls/wined3d/directx.c
+2
-2
int31.c
dlls/winedos/int31.c
+1
-1
midi.c
dlls/wineoss.drv/midi.c
+1
-1
batch.c
programs/cmd/batch.c
+1
-1
builtins.c
programs/cmd/builtins.c
+4
-4
directory.c
programs/cmd/directory.c
+1
-1
dialog.c
programs/notepad/dialog.c
+1
-1
main.c
programs/notepad/main.c
+1
-1
services.c
programs/services/services.c
+2
-2
taskmgr.h
programs/taskmgr/taskmgr.h
+1
-1
libraries.c
programs/winecfg/libraries.c
+2
-2
be_cpu.h
programs/winedbg/be_cpu.h
+3
-3
be_i386.c
programs/winedbg/be_i386.c
+1
-1
winedbg.c
programs/winedbg/winedbg.c
+1
-1
xcopy.c
programs/xcopy/xcopy.c
+1
-1
atom.c
server/atom.c
+1
-1
change.c
server/change.c
+1
-1
genres.c
tools/wrc/genres.c
+1
-1
No files found.
dlls/kernel32/nls/rmc.nls
View file @
8a18e0e4
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*/
*/
/*
/*
- Windows Vista (at least the NLS information
s
about it on www.microsoft.com)
- Windows Vista (at least the NLS information about it on www.microsoft.com)
has the wrong short date format dd/MM/yyyy e.g. 01/08/1996 instead of the
has the wrong short date format dd/MM/yyyy e.g. 01/08/1996 instead of the
correct d-M-yyyy e.g 1-8-1996. This file uses the right short date format as
correct d-M-yyyy e.g 1-8-1996. This file uses the right short date format as
seen on http://www.liarumantscha.ch/ and in the glibc-morelocales.patch for
seen on http://www.liarumantscha.ch/ and in the glibc-morelocales.patch for
...
...
dlls/oleaut32/tests/olefont.c
View file @
8a18e0e4
...
@@ -141,7 +141,7 @@ static void test_QueryInterface(void)
...
@@ -141,7 +141,7 @@ static void test_QueryInterface(void)
ok
(
hres
==
S_OK
,
"IFont_QI does not return S_OK, but 0x%08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"IFont_QI does not return S_OK, but 0x%08x
\n
"
,
hres
);
ok
(
pvObj
!=
NULL
,
"IFont_QI does return NULL, instead of a ptr
\n
"
);
ok
(
pvObj
!=
NULL
,
"IFont_QI does return NULL, instead of a ptr
\n
"
);
/* Orig
ni
al ref and QueryInterface ref both have to be released */
/* Orig
in
al ref and QueryInterface ref both have to be released */
IFont_Release
(
font
);
IFont_Release
(
font
);
IFont_Release
(
font
);
IFont_Release
(
font
);
}
}
...
...
dlls/oleaut32/tests/vartest.c
View file @
8a18e0e4
...
@@ -1060,7 +1060,7 @@ static void test_VarParseNumFromStr(void)
...
@@ -1060,7 +1060,7 @@ static void test_VarParseNumFromStr(void)
EXPECT
(
1
,
NUMPRS_HEX_OCT
,
0
,
1
,
0
,
0
);
EXPECT
(
1
,
NUMPRS_HEX_OCT
,
0
,
1
,
0
,
0
);
EXPECT2
(
0
,
FAILDIG
);
EXPECT2
(
0
,
FAILDIG
);
/* Doesn't recognise hex format
h
umbers at all! */
/* Doesn't recognise hex format
n
umbers at all! */
CONVERT
(
"0x0"
,
NUMPRS_HEX_OCT
);
CONVERT
(
"0x0"
,
NUMPRS_HEX_OCT
);
EXPECT
(
1
,
NUMPRS_HEX_OCT
,
0
,
1
,
0
,
0
);
EXPECT
(
1
,
NUMPRS_HEX_OCT
,
0
,
1
,
0
,
0
);
EXPECT2
(
0
,
FAILDIG
);
EXPECT2
(
0
,
FAILDIG
);
...
...
dlls/oleaut32/typelib.c
View file @
8a18e0e4
...
@@ -5580,7 +5580,7 @@ static HRESULT typedescvt_to_variantvt(ITypeInfo *tinfo, const TYPEDESC *tdesc,
...
@@ -5580,7 +5580,7 @@ static HRESULT typedescvt_to_variantvt(ITypeInfo *tinfo, const TYPEDESC *tdesc,
/***********************************************************************
/***********************************************************************
* DispCallFunc (OLEAUT32.@)
* DispCallFunc (OLEAUT32.@)
*
*
* Invokes a function of the specifed calling convention, passing the
* Invokes a function of the specif
i
ed calling convention, passing the
* specified arguments and returns the result.
* specified arguments and returns the result.
*
*
* PARAMS
* PARAMS
...
...
dlls/user32/tests/winstation.c
View file @
8a18e0e4
...
@@ -277,7 +277,7 @@ static void test_enumstations(void)
...
@@ -277,7 +277,7 @@ static void test_enumstations(void)
{
{
SetLastError
(
0xbabefeed
);
SetLastError
(
0xbabefeed
);
ret
=
EnumWindowStationsA
(
NULL
,
0
);
ret
=
EnumWindowStationsA
(
NULL
,
0
);
ok
(
!
ret
,
"EnumWindowStationsA returned succesfully!
\n
"
);
ok
(
!
ret
,
"EnumWindowStationsA returned succes
s
fully!
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"LastError is set to %08x
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"LastError is set to %08x
\n
"
,
GetLastError
());
}
}
...
@@ -323,7 +323,7 @@ static void test_enumdesktops(void)
...
@@ -323,7 +323,7 @@ static void test_enumdesktops(void)
{
{
SetLastError
(
0xbabefeed
);
SetLastError
(
0xbabefeed
);
ret
=
EnumDesktopsA
(
GetProcessWindowStation
(),
NULL
,
0
);
ret
=
EnumDesktopsA
(
GetProcessWindowStation
(),
NULL
,
0
);
ok
(
!
ret
,
"EnumDesktopsA returned succesfully!
\n
"
);
ok
(
!
ret
,
"EnumDesktopsA returned succes
s
fully!
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"LastError is set to %08x
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"LastError is set to %08x
\n
"
,
GetLastError
());
}
}
...
...
dlls/wined3d/arb_program_shader.c
View file @
8a18e0e4
...
@@ -1990,12 +1990,12 @@ static void shader_arb_generate_vshader(IWineD3DVertexShader *iface, SHADER_BUFF
...
@@ -1990,12 +1990,12 @@ static void shader_arb_generate_vshader(IWineD3DVertexShader *iface, SHADER_BUFF
/* Initialize output parameters. GL_ARB_vertex_program does not require special initialization values
/* Initialize output parameters. GL_ARB_vertex_program does not require special initialization values
* for output parameters. D3D in theory does not do that either, but some applications depend on a
* for output parameters. D3D in theory does not do that either, but some applications depend on a
* proper initialization of the secondary color, and programs using the fixed function pipeline without
* proper initialization of the secondary color, and programs using the fixed function pipeline without
* a replacement shader depend on the texcoord.w be
e
ing set properly.
* a replacement shader depend on the texcoord.w being set properly.
*
*
* GL_NV_vertex_program defines that all output values are initialized to {0.0, 0.0, 0.0, 1.0}. This
* GL_NV_vertex_program defines that all output values are initialized to {0.0, 0.0, 0.0, 1.0}. This
* assetion is in effect even when using GL_ARB_vertex_program without any NV specific additions. So
* assetion is in effect even when using GL_ARB_vertex_program without any NV specific additions. So
* skip this if NV_vertex_program is supported. Otherwise, initialize the secondary color. For the tex-
* skip this if NV_vertex_program is supported. Otherwise, initialize the secondary color. For the tex-
* coords, we have a flag in the opengl caps. Many cards do not require the texcoord be
e
ing set, and
* coords, we have a flag in the opengl caps. Many cards do not require the texcoord being set, and
* this can eat a number of instructions, so skip it unless this cap is set as well
* this can eat a number of instructions, so skip it unless this cap is set as well
*/
*/
if
(
!
GL_SUPPORT
(
NV_VERTEX_PROGRAM
))
{
if
(
!
GL_SUPPORT
(
NV_VERTEX_PROGRAM
))
{
...
...
dlls/wined3d/ati_fragment_shader.c
View file @
8a18e0e4
...
@@ -240,12 +240,12 @@ static GLuint find_tmpreg(struct texture_stage_op op[MAX_TEXTURES]) {
...
@@ -240,12 +240,12 @@ static GLuint find_tmpreg(struct texture_stage_op op[MAX_TEXTURES]) {
if
(
lowest_read
==
-
1
)
return
GL_NONE
;
if
(
lowest_read
==
-
1
)
return
GL_NONE
;
if
(
lowest_write
>=
lowest_read
)
{
if
(
lowest_write
>=
lowest_read
)
{
FIXME
(
"Temp register read before be
e
ing written
\n
"
);
FIXME
(
"Temp register read before being written
\n
"
);
}
}
if
(
lowest_write
==
-
1
)
{
if
(
lowest_write
==
-
1
)
{
/* This needs a test. Maybe we are supposed to return 0.0/0.0/0.0/0.0, or fail drawprim, or whatever */
/* This needs a test. Maybe we are supposed to return 0.0/0.0/0.0/0.0, or fail drawprim, or whatever */
FIXME
(
"Temp register read without be
e
ing written
\n
"
);
FIXME
(
"Temp register read without being written
\n
"
);
return
GL_REG_1_ATI
;
return
GL_REG_1_ATI
;
}
else
if
(
lowest_write
>=
1
)
{
}
else
if
(
lowest_write
>=
1
)
{
/* If we're writing to the temp reg at earliest in stage 1, we can use register 1 for the temp result.
/* If we're writing to the temp reg at earliest in stage 1, we can use register 1 for the temp result.
...
...
dlls/wined3d/device.c
View file @
8a18e0e4
...
@@ -5555,7 +5555,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetPaletteEntries(IWineD3DDevice *ifa
...
@@ -5555,7 +5555,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetPaletteEntries(IWineD3DDevice *ifa
if
(
PaletteNumber
>=
This
->
NumberOfPalettes
||
!
This
->
palettes
[
PaletteNumber
])
{
if
(
PaletteNumber
>=
This
->
NumberOfPalettes
||
!
This
->
palettes
[
PaletteNumber
])
{
/* What happens in such situation isn't documented; Native seems to silently abort
/* What happens in such situation isn't documented; Native seems to silently abort
on such conditions. Return Invalid Call. */
on such conditions. Return Invalid Call. */
ERR
(
"(%p) : (%u) Non
-
existent palette. NumberOfPalettes %u
\n
"
,
This
,
PaletteNumber
,
This
->
NumberOfPalettes
);
ERR
(
"(%p) : (%u) Nonexistent palette. NumberOfPalettes %u
\n
"
,
This
,
PaletteNumber
,
This
->
NumberOfPalettes
);
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
}
}
for
(
j
=
0
;
j
<
256
;
++
j
)
{
for
(
j
=
0
;
j
<
256
;
++
j
)
{
...
@@ -5574,7 +5574,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetCurrentTexturePalette(IWineD3DDevi
...
@@ -5574,7 +5574,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetCurrentTexturePalette(IWineD3DDevi
/* Native appears to silently abort on attempt to make an uninitialized palette current and render.
/* Native appears to silently abort on attempt to make an uninitialized palette current and render.
(tested with reference rasterizer). Return Invalid Call. */
(tested with reference rasterizer). Return Invalid Call. */
if
(
PaletteNumber
>=
This
->
NumberOfPalettes
||
!
This
->
palettes
[
PaletteNumber
])
{
if
(
PaletteNumber
>=
This
->
NumberOfPalettes
||
!
This
->
palettes
[
PaletteNumber
])
{
ERR
(
"(%p) : (%u) Non
-
existent palette. NumberOfPalettes %u
\n
"
,
This
,
PaletteNumber
,
This
->
NumberOfPalettes
);
ERR
(
"(%p) : (%u) Nonexistent palette. NumberOfPalettes %u
\n
"
,
This
,
PaletteNumber
,
This
->
NumberOfPalettes
);
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
}
}
/*TODO: stateblocks */
/*TODO: stateblocks */
...
...
dlls/wined3d/directx.c
View file @
8a18e0e4
...
@@ -983,7 +983,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
...
@@ -983,7 +983,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
}
}
if
(
gl_info
->
supported
[
ATI_FRAGMENT_SHADER
])
{
if
(
gl_info
->
supported
[
ATI_FRAGMENT_SHADER
])
{
/* Disable NV_register_combiners and fragment shader if this is supported.
/* Disable NV_register_combiners and fragment shader if this is supported.
* generally the NV extensions are prefer
ed over the ATI one
, and this
* generally the NV extensions are prefer
red over the ATI ones
, and this
* extension is disabled if register_combiners and texture_shader2 are both
* extension is disabled if register_combiners and texture_shader2 are both
* supported. So we reach this place only if we have incomplete NV dxlevel 8
* supported. So we reach this place only if we have incomplete NV dxlevel 8
* fragment processing support
* fragment processing support
...
@@ -1972,7 +1972,7 @@ static BOOL CheckRenderTargetCapability(WINED3DFORMAT AdapterFormat, WINED3DFORM
...
@@ -1972,7 +1972,7 @@ static BOOL CheckRenderTargetCapability(WINED3DFORMAT AdapterFormat, WINED3DFORM
}
}
}
}
}
else
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_PBUFFER
)
{
}
else
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_PBUFFER
)
{
/* We can pro
p
ably use this function in FBO mode too on some drivers to get some basic indication of the capabilities. */
/* We can pro
b
ably use this function in FBO mode too on some drivers to get some basic indication of the capabilities. */
WineD3D_PixelFormat
*
cfgs
=
Adapters
[
Adapter
].
cfgs
;
WineD3D_PixelFormat
*
cfgs
=
Adapters
[
Adapter
].
cfgs
;
int
it
;
int
it
;
...
...
dlls/winedos/int31.c
View file @
8a18e0e4
...
@@ -1067,7 +1067,7 @@ void WINAPI DOSVM_Int31Handler( CONTEXT86 *context )
...
@@ -1067,7 +1067,7 @@ void WINAPI DOSVM_Int31Handler( CONTEXT86 *context )
break
;
break
;
case
0x0200
:
/* get real mode interrupt vector */
case
0x0200
:
/* get real mode interrupt vector */
TRACE
(
"get realmode interupt vector (0x%02x)
\n
"
,
TRACE
(
"get realmode inter
r
upt vector (0x%02x)
\n
"
,
BL_reg
(
context
)
);
BL_reg
(
context
)
);
{
{
FARPROC16
proc
=
DOSVM_GetRMHandler
(
BL_reg
(
context
)
);
FARPROC16
proc
=
DOSVM_GetRMHandler
(
BL_reg
(
context
)
);
...
...
dlls/wineoss.drv/midi.c
View file @
8a18e0e4
...
@@ -663,7 +663,7 @@ static DWORD WINAPI midRecThread(LPVOID arg)
...
@@ -663,7 +663,7 @@ static DWORD WINAPI midRecThread(LPVOID arg)
continue
;
continue
;
len
=
read
(
midiSeqFD
,
buffer
,
sizeof
(
buffer
));
len
=
read
(
midiSeqFD
,
buffer
,
sizeof
(
buffer
));
TRACE
(
"Re
v
eived %d bytes
\n
"
,
len
);
TRACE
(
"Re
c
eived %d bytes
\n
"
,
len
);
if
(
len
<
0
)
continue
;
if
(
len
<
0
)
continue
;
if
((
len
%
4
)
!=
0
)
{
if
((
len
%
4
)
!=
0
)
{
...
...
programs/cmd/batch.c
View file @
8a18e0e4
...
@@ -187,7 +187,7 @@ WCHAR *WCMD_parameter (WCHAR *s, int n, WCHAR **where) {
...
@@ -187,7 +187,7 @@ WCHAR *WCMD_parameter (WCHAR *s, int n, WCHAR **where) {
param
[
0
]
=
'\0'
;
param
[
0
]
=
'\0'
;
i
++
;
i
++
;
}
else
{
}
else
{
s
++
;
/* Skip delimter */
s
++
;
/* Skip delim
i
ter */
}
}
p
=
param
;
p
=
param
;
}
}
...
...
programs/cmd/builtins.c
View file @
8a18e0e4
...
@@ -243,7 +243,7 @@ void WCMD_copy (void) {
...
@@ -243,7 +243,7 @@ void WCMD_copy (void) {
*
*
* Create a directory.
* Create a directory.
*
*
* this works recursivly. so mkdir dir1\dir2\dir3 will create dir1 and dir2 if
* this works recursiv
e
ly. so mkdir dir1\dir2\dir3 will create dir1 and dir2 if
* they do not already exist.
* they do not already exist.
*/
*/
...
@@ -452,7 +452,7 @@ BOOL WCMD_delete (WCHAR *command, BOOL expectDir) {
...
@@ -452,7 +452,7 @@ BOOL WCMD_delete (WCHAR *command, BOOL expectDir) {
}
}
/* Now check result, keeping a running boolean about whether it
/* Now check result, keeping a running boolean about whether it
matches all parsed attribues so far */
matches all parsed attribu
t
es so far */
if
(
attribute
&&
!
negate
)
{
if
(
attribute
&&
!
negate
)
{
stillOK
=
stillOK
;
stillOK
=
stillOK
;
}
else
if
(
!
attribute
&&
negate
)
{
}
else
if
(
!
attribute
&&
negate
)
{
...
@@ -1823,7 +1823,7 @@ void WCMD_setshow_default (WCHAR *command) {
...
@@ -1823,7 +1823,7 @@ void WCMD_setshow_default (WCHAR *command) {
}
}
*
pos
=
0x00
;
*
pos
=
0x00
;
/* Search for approprate directory */
/* Search for appropr
i
ate directory */
WINE_TRACE
(
"Looking for directory '%s'
\n
"
,
wine_dbgstr_w
(
string
));
WINE_TRACE
(
"Looking for directory '%s'
\n
"
,
wine_dbgstr_w
(
string
));
hff
=
FindFirstFile
(
string
,
&
fd
);
hff
=
FindFirstFile
(
string
,
&
fd
);
while
(
hff
!=
INVALID_HANDLE_VALUE
)
{
while
(
hff
!=
INVALID_HANDLE_VALUE
)
{
...
@@ -2277,7 +2277,7 @@ void WCMD_more (WCHAR *command) {
...
@@ -2277,7 +2277,7 @@ void WCMD_more (WCHAR *command) {
/* Wine implements pipes via temporary files, and hence stdin is
/* Wine implements pipes via temporary files, and hence stdin is
effectively reading from the file. This means the prompts for
effectively reading from the file. This means the prompts for
more are satis
t
ied by the next line from the input (file). To
more are satis
f
ied by the next line from the input (file). To
avoid this, ensure stdin is to the console */
avoid this, ensure stdin is to the console */
HANDLE
hstdin
=
GetStdHandle
(
STD_INPUT_HANDLE
);
HANDLE
hstdin
=
GetStdHandle
(
STD_INPUT_HANDLE
);
HANDLE
hConIn
=
CreateFile
(
conInW
,
GENERIC_READ
|
GENERIC_WRITE
,
HANDLE
hConIn
=
CreateFile
(
conInW
,
GENERIC_READ
|
GENERIC_WRITE
,
...
...
programs/cmd/directory.c
View file @
8a18e0e4
...
@@ -925,7 +925,7 @@ void WCMD_getfileowner(WCHAR *filename, WCHAR *owner, int ownerlen) {
...
@@ -925,7 +925,7 @@ void WCMD_getfileowner(WCHAR *filename, WCHAR *owner, int ownerlen) {
/* In case of error, return empty string */
/* In case of error, return empty string */
*
owner
=
0x00
;
*
owner
=
0x00
;
/* Find out how much space we need for the owner security descri
tp
or */
/* Find out how much space we need for the owner security descri
pt
or */
GetFileSecurity
(
filename
,
OWNER_SECURITY_INFORMATION
,
0
,
0
,
&
sizeNeeded
);
GetFileSecurity
(
filename
,
OWNER_SECURITY_INFORMATION
,
0
,
0
,
&
sizeNeeded
);
rc
=
GetLastError
();
rc
=
GetLastError
();
...
...
programs/notepad/dialog.c
View file @
8a18e0e4
...
@@ -283,7 +283,7 @@ VOID DIALOG_FileNew(VOID)
...
@@ -283,7 +283,7 @@ VOID DIALOG_FileNew(VOID)
{
{
static
const
WCHAR
empty_strW
[]
=
{
0
};
static
const
WCHAR
empty_strW
[]
=
{
0
};
/* Close any files and promt to save changes */
/* Close any files and prom
p
t to save changes */
if
(
DoCloseFile
())
{
if
(
DoCloseFile
())
{
SetWindowText
(
Globals
.
hEdit
,
empty_strW
);
SetWindowText
(
Globals
.
hEdit
,
empty_strW
);
SendMessage
(
Globals
.
hEdit
,
EM_EMPTYUNDOBUFFER
,
0
,
0
);
SendMessage
(
Globals
.
hEdit
,
EM_EMPTYUNDOBUFFER
,
0
,
0
);
...
...
programs/notepad/main.c
View file @
8a18e0e4
...
@@ -107,7 +107,7 @@ DWORD get_dpi(void)
...
@@ -107,7 +107,7 @@ DWORD get_dpi(void)
*
*
* NOTEPAD_SaveSettingToRegistry
* NOTEPAD_SaveSettingToRegistry
*
*
* Save sett
r
ing to registry HKCU\Software\Microsoft\Notepad.
* Save setting to registry HKCU\Software\Microsoft\Notepad.
*/
*/
static
VOID
NOTEPAD_SaveSettingToRegistry
(
void
)
static
VOID
NOTEPAD_SaveSettingToRegistry
(
void
)
{
{
...
...
programs/services/services.c
View file @
8a18e0e4
...
@@ -124,10 +124,10 @@ static DWORD load_service_config(HKEY hKey, struct service_entry *entry)
...
@@ -124,10 +124,10 @@ static DWORD load_service_config(HKEY hKey, struct service_entry *entry)
WINE_TRACE
(
"Group = %s
\n
"
,
wine_dbgstr_w
(
entry
->
config
.
lpLoadOrderGroup
)
);
WINE_TRACE
(
"Group = %s
\n
"
,
wine_dbgstr_w
(
entry
->
config
.
lpLoadOrderGroup
)
);
WINE_TRACE
(
"Service account name = %s
\n
"
,
wine_dbgstr_w
(
entry
->
config
.
lpServiceStartName
)
);
WINE_TRACE
(
"Service account name = %s
\n
"
,
wine_dbgstr_w
(
entry
->
config
.
lpServiceStartName
)
);
WINE_TRACE
(
"Display name = %s
\n
"
,
wine_dbgstr_w
(
entry
->
config
.
lpDisplayName
)
);
WINE_TRACE
(
"Display name = %s
\n
"
,
wine_dbgstr_w
(
entry
->
config
.
lpDisplayName
)
);
WINE_TRACE
(
"Service depend
a
ncies : %s
\n
"
,
entry
->
dependOnServices
[
0
]
?
""
:
"(none)"
);
WINE_TRACE
(
"Service depend
e
ncies : %s
\n
"
,
entry
->
dependOnServices
[
0
]
?
""
:
"(none)"
);
for
(
wptr
=
entry
->
dependOnServices
;
*
wptr
;
wptr
+=
strlenW
(
wptr
)
+
1
)
for
(
wptr
=
entry
->
dependOnServices
;
*
wptr
;
wptr
+=
strlenW
(
wptr
)
+
1
)
WINE_TRACE
(
" * %s
\n
"
,
wine_dbgstr_w
(
wptr
));
WINE_TRACE
(
" * %s
\n
"
,
wine_dbgstr_w
(
wptr
));
WINE_TRACE
(
"Group depend
a
ncies : %s
\n
"
,
entry
->
dependOnGroups
[
0
]
?
""
:
"(none)"
);
WINE_TRACE
(
"Group depend
e
ncies : %s
\n
"
,
entry
->
dependOnGroups
[
0
]
?
""
:
"(none)"
);
for
(
wptr
=
entry
->
dependOnGroups
;
*
wptr
;
wptr
+=
strlenW
(
wptr
)
+
1
)
for
(
wptr
=
entry
->
dependOnGroups
;
*
wptr
;
wptr
+=
strlenW
(
wptr
)
+
1
)
WINE_TRACE
(
" * %s
\n
"
,
wine_dbgstr_w
(
wptr
));
WINE_TRACE
(
" * %s
\n
"
,
wine_dbgstr_w
(
wptr
));
...
...
programs/taskmgr/taskmgr.h
View file @
8a18e0e4
...
@@ -141,7 +141,7 @@ extern HWND hApplicationPageSwitchToButton; /* Application Switch To button */
...
@@ -141,7 +141,7 @@ extern HWND hApplicationPageSwitchToButton; /* Application Switch To button */
extern
HWND
hApplicationPageNewTaskButton
;
/* Application New Task button */
extern
HWND
hApplicationPageNewTaskButton
;
/* Application New Task button */
/* Foward declarations of functions included in this code module: */
/* Fo
r
ward declarations of functions included in this code module: */
void
FillSolidRect
(
HDC
hDC
,
LPCRECT
lpRect
,
COLORREF
clr
);
void
FillSolidRect
(
HDC
hDC
,
LPCRECT
lpRect
,
COLORREF
clr
);
void
FillSolidRect2
(
HDC
hDC
,
int
x
,
int
y
,
int
cx
,
int
cy
,
COLORREF
clr
);
void
FillSolidRect2
(
HDC
hDC
,
int
x
,
int
y
,
int
cx
,
int
cy
,
COLORREF
clr
);
void
Draw3dRect
(
HDC
hDC
,
int
x
,
int
y
,
int
cx
,
int
cy
,
COLORREF
clrTopLeft
,
COLORREF
clrBottomRight
);
void
Draw3dRect
(
HDC
hDC
,
int
x
,
int
y
,
int
cx
,
int
cy
,
COLORREF
clrTopLeft
,
COLORREF
clrBottomRight
);
...
...
programs/winecfg/libraries.c
View file @
8a18e0e4
...
@@ -95,7 +95,7 @@ enum dllmode
...
@@ -95,7 +95,7 @@ enum dllmode
BUILTIN
,
BUILTIN
,
NATIVE
,
NATIVE
,
DISABLE
,
DISABLE
,
UNKNOWN
/* Special value indicating an erronous DLL override mode */
UNKNOWN
/* Special value indicating an erron
e
ous DLL override mode */
};
};
struct
dll
struct
dll
...
@@ -411,7 +411,7 @@ static void on_add_combo_change(HWND dialog)
...
@@ -411,7 +411,7 @@ static void on_add_combo_change(HWND dialog)
int
sel
,
len
;
int
sel
,
len
;
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
WM_GETTEXT
,
sizeof
(
buffer
),
(
LPARAM
)
buffer
);
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
WM_GETTEXT
,
sizeof
(
buffer
),
(
LPARAM
)
buffer
);
/* if lib was chosen from combobox, we re
v
eive an empty buffer, check manually */
/* if lib was chosen from combobox, we re
c
eive an empty buffer, check manually */
sel
=
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
CB_GETCURSEL
,
0
,
0
);
sel
=
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
CB_GETCURSEL
,
0
,
0
);
len
=
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
CB_GETLBTEXTLEN
,
sel
,
0
);
len
=
SendDlgItemMessage
(
dialog
,
IDC_DLLCOMBO
,
CB_GETLBTEXTLEN
,
sel
,
0
);
...
...
programs/winedbg/be_cpu.h
View file @
8a18e0e4
...
@@ -27,7 +27,7 @@ struct backend_cpu
...
@@ -27,7 +27,7 @@ struct backend_cpu
* address manipulation
* address manipulation
* ------------------------------------------------------------------------------ */
* ------------------------------------------------------------------------------ */
/* Linearizes an address. Only CPUs with segmented address model need this.
/* Linearizes an address. Only CPUs with segmented address model need this.
* Otherwise, implementation is straig
th
forward (be_cpu_linearize will do)
* Otherwise, implementation is straig
ht
forward (be_cpu_linearize will do)
*/
*/
void
*
(
*
linearize
)(
HANDLE
hThread
,
const
ADDRESS64
*
);
void
*
(
*
linearize
)(
HANDLE
hThread
,
const
ADDRESS64
*
);
/* Fills in an ADDRESS64 structure from a segment & an offset. CPUs without
/* Fills in an ADDRESS64 structure from a segment & an offset. CPUs without
...
@@ -76,9 +76,9 @@ struct backend_cpu
...
@@ -76,9 +76,9 @@ struct backend_cpu
* it's INT3 (0xCC)
* it's INT3 (0xCC)
*/
*/
unsigned
(
*
is_break_insn
)(
const
void
*
);
unsigned
(
*
is_break_insn
)(
const
void
*
);
/* Check whether instruc
it
on at 'addr' is a function call */
/* Check whether instruc
ti
on at 'addr' is a function call */
unsigned
(
*
is_function_call
)(
const
void
*
insn
,
ADDRESS64
*
callee
);
unsigned
(
*
is_function_call
)(
const
void
*
insn
,
ADDRESS64
*
callee
);
/* Ask for dis
sa
sembling one instruction. If display is true, assembly code
/* Ask for dis
as
sembling one instruction. If display is true, assembly code
* will be printed. In all cases, 'addr' is advanced at next instruction
* will be printed. In all cases, 'addr' is advanced at next instruction
*/
*/
void
(
*
disasm_one_insn
)(
ADDRESS64
*
addr
,
int
display
);
void
(
*
disasm_one_insn
)(
ADDRESS64
*
addr
,
int
display
);
...
...
programs/winedbg/be_i386.c
View file @
8a18e0e4
...
@@ -218,7 +218,7 @@ static void be_i386_print_context(HANDLE hThread, const CONTEXT* ctx, int all_re
...
@@ -218,7 +218,7 @@ static void be_i386_print_context(HANDLE hThread, const CONTEXT* ctx, int all_re
if
(
ctx
->
EFlags
&
0x00000040
)
*
pt
--
=
'Z'
;
/* Zero Flag */
if
(
ctx
->
EFlags
&
0x00000040
)
*
pt
--
=
'Z'
;
/* Zero Flag */
if
(
ctx
->
EFlags
&
0x00000080
)
*
pt
--
=
'S'
;
/* Sign Flag */
if
(
ctx
->
EFlags
&
0x00000080
)
*
pt
--
=
'S'
;
/* Sign Flag */
if
(
ctx
->
EFlags
&
0x00000100
)
*
pt
--
=
'T'
;
/* Trap/Trace Flag */
if
(
ctx
->
EFlags
&
0x00000100
)
*
pt
--
=
'T'
;
/* Trap/Trace Flag */
if
(
ctx
->
EFlags
&
0x00000200
)
*
pt
--
=
'I'
;
/* Interupt Enable Flag */
if
(
ctx
->
EFlags
&
0x00000200
)
*
pt
--
=
'I'
;
/* Inter
r
upt Enable Flag */
if
(
ctx
->
EFlags
&
0x00000400
)
*
pt
--
=
'D'
;
/* Direction Indicator */
if
(
ctx
->
EFlags
&
0x00000400
)
*
pt
--
=
'D'
;
/* Direction Indicator */
if
(
ctx
->
EFlags
&
0x00000800
)
*
pt
--
=
'O'
;
/* Overflow flags */
if
(
ctx
->
EFlags
&
0x00000800
)
*
pt
--
=
'O'
;
/* Overflow flags */
if
(
ctx
->
EFlags
&
0x00001000
)
*
pt
--
=
'1'
;
/* I/O Privilege Level */
if
(
ctx
->
EFlags
&
0x00001000
)
*
pt
--
=
'1'
;
/* I/O Privilege Level */
...
...
programs/winedbg/winedbg.c
View file @
8a18e0e4
...
@@ -216,7 +216,7 @@ static unsigned dbg_save_internal_vars(void)
...
@@ -216,7 +216,7 @@ static unsigned dbg_save_internal_vars(void)
for
(
i
=
0
;
i
<
DBG_IV_LAST
;
i
++
)
for
(
i
=
0
;
i
<
DBG_IV_LAST
;
i
++
)
{
{
/* FIXME: type should be infered from basic type -if any- of intvar */
/* FIXME: type should be infer
r
ed from basic type -if any- of intvar */
if
(
dbg_internal_vars
[
i
].
pval
==
&
dbg_internal_vars
[
i
].
val
)
if
(
dbg_internal_vars
[
i
].
pval
==
&
dbg_internal_vars
[
i
].
val
)
RegSetValueEx
(
hkey
,
dbg_internal_vars
[
i
].
name
,
0
,
RegSetValueEx
(
hkey
,
dbg_internal_vars
[
i
].
name
,
0
,
REG_DWORD
,
(
const
void
*
)
dbg_internal_vars
[
i
].
pval
,
REG_DWORD
,
(
const
void
*
)
dbg_internal_vars
[
i
].
pval
,
...
...
programs/xcopy/xcopy.c
View file @
8a18e0e4
...
@@ -794,7 +794,7 @@ cleanup:
...
@@ -794,7 +794,7 @@ cleanup:
/* =========================================================================
/* =========================================================================
* Routine copied from cmd.exe md command -
* Routine copied from cmd.exe md command -
* This works recursivly. so creating dir1\dir2\dir3 will create dir1 and
* This works recursiv
e
ly. so creating dir1\dir2\dir3 will create dir1 and
* dir2 if they do not already exist.
* dir2 if they do not already exist.
* ========================================================================= */
* ========================================================================= */
static
BOOL
XCOPY_CreateDirectory
(
const
WCHAR
*
path
)
static
BOOL
XCOPY_CreateDirectory
(
const
WCHAR
*
path
)
...
...
server/atom.c
View file @
8a18e0e4
...
@@ -65,7 +65,7 @@ struct atom_table
...
@@ -65,7 +65,7 @@ struct atom_table
int
count
;
/* count of atom handles */
int
count
;
/* count of atom handles */
int
last
;
/* last handle in-use */
int
last
;
/* last handle in-use */
struct
atom_entry
**
handles
;
/* atom handles */
struct
atom_entry
**
handles
;
/* atom handles */
int
entries_count
;
/*
h
umber of hash entries */
int
entries_count
;
/*
n
umber of hash entries */
struct
atom_entry
**
entries
;
/* hash table entries */
struct
atom_entry
**
entries
;
/* hash table entries */
};
};
...
...
server/change.c
View file @
8a18e0e4
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
#define DN_CREATE 0x00000004
/* File created */
#define DN_CREATE 0x00000004
/* File created */
#define DN_DELETE 0x00000008
/* File removed */
#define DN_DELETE 0x00000008
/* File removed */
#define DN_RENAME 0x00000010
/* File renamed */
#define DN_RENAME 0x00000010
/* File renamed */
#define DN_ATTRIB 0x00000020
/* File changed attibutes */
#define DN_ATTRIB 0x00000020
/* File changed att
r
ibutes */
#define DN_MULTISHOT 0x80000000
/* Don't remove notifier */
#define DN_MULTISHOT 0x80000000
/* Don't remove notifier */
#endif
#endif
#endif
#endif
...
...
tools/wrc/genres.c
View file @
8a18e0e4
...
@@ -418,7 +418,7 @@ static void put_raw_data(res_t *res, raw_data_t *raw, int offset)
...
@@ -418,7 +418,7 @@ static void put_raw_data(res_t *res, raw_data_t *raw, int offset)
/*
/*
*****************************************************************************
*****************************************************************************
* Function : put_res_header
* Function : put_res_header
* Syntax : in
t
put_res_header(res_t *res, int type, name_id_t *ntype,
* Syntax : input_res_header(res_t *res, int type, name_id_t *ntype,
* name_id_t *name, DWORD memopt, lvc_t *lvc)
* name_id_t *name, DWORD memopt, lvc_t *lvc)
*
*
* Input :
* Input :
...
...
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