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
e2b0fb98
Commit
e2b0fb98
authored
Aug 31, 2021
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix ASCII / ANSI mixups in comments.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
29f73481
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
class.c
dlls/user32/class.c
+2
-2
dde_server.c
dlls/user32/dde_server.c
+2
-2
menu.c
dlls/user32/menu.c
+1
-1
text.c
dlls/user32/text.c
+1
-1
winproc.c
dlls/user32/winproc.c
+1
-1
No files found.
dlls/user32/class.c
View file @
e2b0fb98
...
...
@@ -235,7 +235,7 @@ static BOOL set_server_info( HWND hwnd, INT offset, LONG_PTR newval, UINT size )
/***********************************************************************
* CLASS_GetMenuNameA
*
* Get the menu name as a
ASCI
I string.
* Get the menu name as a
n ANS
I string.
*/
static
inline
LPSTR
CLASS_GetMenuNameA
(
CLASS
*
classPtr
)
{
...
...
@@ -524,7 +524,7 @@ static CLASS *CLASS_RegisterClass( LPCWSTR name, UINT basename_offset, HINSTANCE
* register_builtin
*
* Register a builtin control class.
* This allows having both A
SCI
I and Unicode winprocs for the same class.
* This allows having both A
NS
I and Unicode winprocs for the same class.
*/
static
void
register_builtin
(
const
struct
builtin_class_descr
*
descr
)
{
...
...
dlls/user32/dde_server.c
View file @
e2b0fb98
...
...
@@ -782,7 +782,7 @@ static HDDEDATA map_A_to_W( DWORD instance, void *ptr, DWORD size )
return
ret
;
}
/* convert data to A
SCI
I, unless it looks like it's not in Unicode format */
/* convert data to A
NS
I, unless it looks like it's not in Unicode format */
static
HDDEDATA
map_W_to_A
(
DWORD
instance
,
void
*
ptr
,
DWORD
size
)
{
HDDEDATA
ret
;
...
...
@@ -821,7 +821,7 @@ static WDML_QUEUE_STATE WDML_ServerHandleExecute(WDML_CONV* pConv, WDML_XACT* pX
{
if
(
pConv
->
instance
->
unicode
)
/* Unicode server, try to map A->W */
hDdeData
=
map_A_to_W
(
pConv
->
instance
->
instanceID
,
ptr
,
size
);
else
if
(
!
IsWindowUnicode
(
pConv
->
hwndClient
))
/* A
SCI
I server and client, try to map W->A */
else
if
(
!
IsWindowUnicode
(
pConv
->
hwndClient
))
/* A
NS
I server and client, try to map W->A */
hDdeData
=
map_W_to_A
(
pConv
->
instance
->
instanceID
,
ptr
,
size
);
else
hDdeData
=
DdeCreateDataHandle
(
pConv
->
instance
->
instanceID
,
ptr
,
size
,
0
,
0
,
CF_TEXT
,
0
);
...
...
dlls/user32/menu.c
View file @
e2b0fb98
...
...
@@ -4879,7 +4879,7 @@ BOOL WINAPI GetMenuItemInfoW( HMENU hmenu, UINT item, BOOL bypos,
}
/* set a menu item text from a
ASCI
I or Unicode string */
/* set a menu item text from a
n ANS
I or Unicode string */
static
inline
void
set_menu_item_text
(
MENUITEM
*
menu
,
LPCWSTR
text
,
BOOL
unicode
)
{
if
(
!
text
)
...
...
dlls/user32/text.c
View file @
e2b0fb98
...
...
@@ -1185,7 +1185,7 @@ INT WINAPI DrawTextA( HDC hdc, LPCSTR str, INT count, LPRECT rect, UINT flags )
* GrayString functions
*/
/* callback for A
SCI
I gray string proc */
/* callback for A
NS
I gray string proc */
static
BOOL
CALLBACK
gray_string_callbackA
(
HDC
hdc
,
LPARAM
param
,
INT
len
)
{
return
TextOutA
(
hdc
,
0
,
0
,
(
LPCSTR
)
param
,
len
);
...
...
dlls/user32/winproc.c
View file @
e2b0fb98
...
...
@@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(win);
typedef
struct
tagWINDOWPROC
{
WNDPROC
procA
;
/* A
SCI
I window proc */
WNDPROC
procA
;
/* A
NS
I window proc */
WNDPROC
procW
;
/* Unicode window proc */
}
WINDOWPROC
;
...
...
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