Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
751f683f
Commit
751f683f
authored
May 02, 2002
by
Christian Costa
Committed by
Alexandre Julliard
May 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TOOLTIPS_GetTipText: Accept null module instance, Loadstring can
handle it.
parent
7dd9e339
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tooltips.c
dlls/comctl32/tooltips.c
+2
-2
No files found.
dlls/comctl32/tooltips.c
View file @
751f683f
...
...
@@ -184,7 +184,7 @@ TOOLTIPS_GetTipText (HWND hwnd, TOOLTIPS_INFO *infoPtr, INT nTool)
{
TTTOOL_INFO
*
toolPtr
=
&
infoPtr
->
tools
[
nTool
];
if
(
(
toolPtr
->
hinst
)
&&
(
HIWORD
((
UINT
)
toolPtr
->
lpszText
)
==
0
)
)
{
if
(
HIWORD
((
UINT
)
toolPtr
->
lpszText
)
==
0
)
{
/* load a resource */
TRACE
(
"load res string %x %x
\n
"
,
toolPtr
->
hinst
,
(
int
)
toolPtr
->
lpszText
);
...
...
@@ -208,7 +208,7 @@ TOOLTIPS_GetTipText (HWND hwnd, TOOLTIPS_INFO *infoPtr, INT nTool)
SendMessageA
(
toolPtr
->
hwnd
,
WM_NOTIFY
,
(
WPARAM
)
toolPtr
->
uId
,
(
LPARAM
)
&
ttnmdi
);
if
(
(
ttnmdi
.
hinst
)
&&
(
HIWORD
((
UINT
)
ttnmdi
.
lpszText
)
==
0
)
)
{
if
(
HIWORD
((
UINT
)
ttnmdi
.
lpszText
)
==
0
)
{
LoadStringW
(
ttnmdi
.
hinst
,
(
UINT
)
ttnmdi
.
lpszText
,
infoPtr
->
szTipText
,
INFOTIPSIZE
);
if
(
ttnmdi
.
uFlags
&
TTF_DI_SETITEM
)
{
...
...
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