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
0f9d56fd
Commit
0f9d56fd
authored
Aug 14, 2000
by
Niclas Karlsson MATE
Committed by
Alexandre Julliard
Aug 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LPSTR_TEXTCALLBACK wouldn't work if the application supplied the item
text in its own buffer.
parent
e101f6db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
listview.c
dlls/comctl32/listview.c
+5
-1
No files found.
dlls/comctl32/listview.c
View file @
0f9d56fd
...
...
@@ -4796,7 +4796,11 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
{
Str_SetPtrA
(
ppszText
,
dispInfo
.
item
.
pszText
);
}
/* Here lpLVItem->pszText==dispInfo.item.pszText so a copy is unnecessary */
/* If lpLVItem->pszText==dispInfo.item.pszText a copy is unnecessary, but */
/* some apps give a new pointer in ListView_Notify so we can't be sure. */
if
(
lpLVItem
->
pszText
!=
dispInfo
.
item
.
pszText
)
{
lstrcpynA
(
lpLVItem
->
pszText
,
dispInfo
.
item
.
pszText
,
lpLVItem
->
cchTextMax
);
}
}
else
if
(
lpLVItem
->
mask
&
LVIF_TEXT
)
{
...
...
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