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
6e256c72
Commit
6e256c72
authored
Oct 25, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
Oct 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fix some pselling
- enhance some TRACEs
parent
de363644
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
21 deletions
+21
-21
listview.c
dlls/comctl32/listview.c
+1
-1
treeview.c
dlls/comctl32/treeview.c
+1
-1
alloc.c
dlls/kernel/tests/alloc.c
+3
-3
shellole.c
dlls/shell32/shellole.c
+2
-2
reg.c
dlls/shlwapi/reg.c
+3
-3
audio.c
dlls/winmm/winealsa/audio.c
+1
-1
keyboard.c
dlls/x11drv/keyboard.c
+10
-10
No files found.
dlls/comctl32/listview.c
View file @
6e256c72
...
...
@@ -343,7 +343,7 @@ typedef struct tagLISTVIEW_INFO
#define LV_FL_DT_FLAGS (DT_TOP | DT_NOPREFIX | DT_EDITCONTROL | DT_CENTER | DT_WORDBREAK | DT_NOCLIP)
#define LV_SL_DT_FLAGS (DT_TOP | DT_EDITCONTROL | DT_SINGLELINE | DT_WORD_ELLIPSIS | DT_END_ELLIPSIS)
/* The time in mil
iseco
ds to reset the search in the list */
/* The time in mil
lisecon
ds to reset the search in the list */
#define KEY_DELAY 450
/* Dump the LISTVIEW_INFO structure to the debug channel */
...
...
dlls/comctl32/treeview.c
View file @
6e256c72
...
...
@@ -3640,7 +3640,7 @@ TREEVIEW_EndEditLabelNow(TREEVIEW_INFO *infoPtr, BOOL bCancel)
if
(
iLength
>=
1023
)
{
ERR
(
"Insuficient space to retrieve new item label
\n
"
);
ERR
(
"Insuf
f
icient space to retrieve new item label
\n
"
);
}
tvdi
.
item
.
pszText
=
tmpText
;
...
...
dlls/kernel/tests/alloc.c
View file @
6e256c72
...
...
@@ -56,7 +56,7 @@ static void test_Heap(void)
UINT
error
,
i
;
DWORD
dwSize
;
/* Retr
ei
ve the page size for this system */
/* Retr
ie
ve the page size for this system */
sysInfo
.
dwPageSize
=
0
;
GetSystemInfo
(
&
sysInfo
);
ok
(
sysInfo
.
dwPageSize
>
0
,
"GetSystemInfo should return a valid page size"
);
...
...
@@ -391,12 +391,12 @@ static void test_Virtual(void)
UCHAR
*
mem1
;
UINT
error
,
i
;
/* Retr
ei
ve the page size for this system */
/* Retr
ie
ve the page size for this system */
sysInfo
.
dwPageSize
=
0
;
GetSystemInfo
(
&
sysInfo
);
ok
(
sysInfo
.
dwPageSize
>
0
,
"GetSystemInfo should return a valid page size"
);
/* Ch
h
ose a reasonable allocation size */
/* Ch
o
ose a reasonable allocation size */
memchunk
=
10
*
sysInfo
.
dwPageSize
;
/* Check that a normal alloc works */
...
...
dlls/shell32/shellole.c
View file @
6e256c72
...
...
@@ -165,10 +165,10 @@ LRESULT WINAPI SHCoCreateInstance(
dwSize
=
sizeof
(
sDllPath
);
SHQueryValueExW
(
hKey
,
NULL
,
0
,
0
,
sDllPath
,
&
dwSize
);
/* if a special registry key is set
we loading
a shell extension without help of OLE32 */
/* if a special registry key is set
, we load
a shell extension without help of OLE32 */
bLoadWithoutCOM
=
(
ERROR_SUCCESS
==
SHQueryValueExW
(
hKey
,
sLoadWithoutCOM
,
0
,
0
,
0
,
0
));
/* if the com object is inside shell32 omit use of ole32 */
/* if the com object is inside shell32
,
omit use of ole32 */
bLoadFromShell32
=
(
0
==
lstrcmpiW
(
PathFindFileNameW
(
sDllPath
),
sShell32
));
RegCloseKey
(
hKey
);
...
...
dlls/shlwapi/reg.c
View file @
6e256c72
...
...
@@ -623,7 +623,7 @@ LONG WINAPI SHRegEnumUSKeyA(
return
RegEnumKeyExA
(
dokey
,
dwIndex
,
pszName
,
pcchValueNameLen
,
0
,
0
,
0
,
0
);
}
FIXME
(
"no support for SHREGNUM_BOTH
\n
"
);
FIXME
(
"no support for SHREG
E
NUM_BOTH
\n
"
);
return
ERROR_INVALID_FUNCTION
;
}
...
...
@@ -656,7 +656,7 @@ LONG WINAPI SHRegEnumUSKeyW(
return
RegEnumKeyExW
(
dokey
,
dwIndex
,
pszName
,
pcchValueNameLen
,
0
,
0
,
0
,
0
);
}
FIXME
(
"no support for SHREGNUM_BOTH
\n
"
);
FIXME
(
"no support for SHREG
E
NUM_BOTH
\n
"
);
return
ERROR_INVALID_FUNCTION
;
}
...
...
@@ -1483,7 +1483,7 @@ LONG WINAPI SHEnumKeyExW(HKEY hKey, DWORD dwIndex, LPWSTR lpszSubKey,
*
* RETURNS
* Success: ERROR_SUCCESS. Output parameters are updated.
* Failure: An error code from RegEnumValue
Ex
A.
* Failure: An error code from RegEnumValueA.
*/
LONG
WINAPI
SHEnumValueA
(
HKEY
hKey
,
DWORD
dwIndex
,
LPSTR
lpszValue
,
LPDWORD
pwLen
,
LPDWORD
pwType
,
...
...
dlls/winmm/winealsa/audio.c
View file @
6e256c72
...
...
@@ -481,7 +481,7 @@ LONG ALSA_WaveInit(void)
#undef X
}
if
(
snd_pcm_hw_params_get_channels_min
(
hw_params
)
>
1
)
FIXME
(
"-"
);
if
(
snd_pcm_hw_params_get_channels_min
(
hw_params
)
>
1
)
FIXME
(
"-
\n
"
);
wwo
->
caps
.
wChannels
=
(
snd_pcm_hw_params_get_channels_max
(
hw_params
)
>=
2
)
?
2
:
1
;
if
(
snd_pcm_hw_params_get_channels_min
(
hw_params
)
<=
2
&&
2
<=
snd_pcm_hw_params_get_channels_max
(
hw_params
))
wwo
->
caps
.
dwSupport
|=
WAVECAPS_LRVOLUME
;
...
...
dlls/x11drv/keyboard.c
View file @
6e256c72
...
...
@@ -873,13 +873,13 @@ inline static void KEYBOARD_UpdateOneState ( int vkey, int state, DWORD time )
/* Do something if internal table state != X state for keycode */
if
(((
pKeyStateTable
[
vkey
]
&
0x80
)
!=
0
)
!=
state
)
{
TRACE
(
"Adjusting state for vkey %#.2x. State before %#.2x
\n
"
,
TRACE
(
"Adjusting state for vkey %#.2x. State before %#.2x
\n
"
,
vkey
,
pKeyStateTable
[
vkey
]);
/* Fake key being pressed inside wine */
send_keyboard_input
(
vkey
,
0
,
state
?
0
:
KEYEVENTF_KEYUP
,
time
);
TRACE
(
"State after %#.2x
\n
"
,
pKeyStateTable
[
vkey
]);
TRACE
(
"State after %#.2x
\n
"
,
pKeyStateTable
[
vkey
]);
}
}
...
...
@@ -951,12 +951,12 @@ void X11DRV_KeyEvent( HWND hwnd, XKeyEvent *event )
TRACE_
(
key
)(
"state = %X
\n
"
,
event
->
state
);
/* If XKB extensions
is used, the state mask for AltGr will used
the group
/* If XKB extensions
are used, the state mask for AltGr will use
the group
index instead of the modifier mask. The group index is set in bits
13-14 of the state field in the XKeyEvent structure. So if AltGr is
pressed, look if the group index is diferent than 0. From XKB
extension documentation, the group index
should for AltGr should
be 2
(event->state = 0x2000). It's probably better to not assume a
pressed, look if the group index is dif
f
erent than 0. From XKB
extension documentation, the group index
for AltGr should be 2
(event->state = 0x2000). It's probably better to not assume a
predefined group index and find it dynamically
Ref: X Keyboard Extension: Library specification (section 14.1.1 and 17.1.1) */
...
...
@@ -997,7 +997,7 @@ void X11DRV_KeyEvent( HWND hwnd, XKeyEvent *event )
/* Adjust the NUMLOCK state if it has been changed outside wine */
if
(
!
(
pKeyStateTable
[
VK_NUMLOCK
]
&
0x01
)
!=
!
(
event
->
state
&
NumLockMask
))
{
TRACE
(
"Adjusting NumLock state.
\n
"
);
TRACE
(
"Adjusting NumLock state.
\n
"
);
KEYBOARD_GenerateMsg
(
VK_NUMLOCK
,
0x45
,
KeyPress
,
event_time
);
KEYBOARD_GenerateMsg
(
VK_NUMLOCK
,
0x45
,
KeyRelease
,
event_time
);
}
...
...
@@ -1365,7 +1365,7 @@ WORD X11DRV_VkKeyScan(CHAR cChar)
keycode
=
TSXKeysymToKeycode
(
display
,
keysym
|
0xFE00
);
}
TRACE
(
"
VkKeyScan
'%c'(%#lx, %lu): got keycode %#.2x
\n
"
,
TRACE
(
"'%c'(%#lx, %lu): got keycode %#.2x
\n
"
,
cChar
,
keysym
,
keysym
,
keycode
);
if
(
keycode
)
...
...
@@ -1402,7 +1402,7 @@ UINT X11DRV_MapVirtualKey(UINT wCode, UINT wMapType)
#define returnMVK(value) { TRACE("returning 0x%x.\n",value); return value; }
TRACE
(
"
MapVirtualKey wCode=0x%x wMapType=%d ...
\n
"
,
wCode
,
wMapType
);
TRACE
(
"
wCode=0x%x wMapType=%d ...
\n
"
,
wCode
,
wMapType
);
switch
(
wMapType
)
{
case
0
:
{
/* vkey-code to scan-code */
/* let's do vkey -> keycode -> scan */
...
...
@@ -1799,7 +1799,7 @@ INT X11DRV_ToUnicode(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
}
/* more areas where X returns characters but Windows does not
CTRL + number or CTRL + symbol*/
CTRL + number or CTRL + symbol
*/
if
(
e
.
state
&
ControlMask
)
{
if
(((
keysym
>=
33
)
&&
(
keysym
<
'A'
))
||
...
...
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