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
bfd5b31a
Commit
bfd5b31a
authored
May 25, 2000
by
Gerard Patel
Committed by
Alexandre Julliard
May 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes crash when calling Treeview_EndEditLabelNow and no node is
currently edited.
parent
820da77d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
treeview.c
dlls/comctl32/treeview.c
+4
-2
No files found.
dlls/comctl32/treeview.c
View file @
bfd5b31a
...
...
@@ -3116,7 +3116,7 @@ TREEVIEW_EndEditLabelNow (HWND hwnd, WPARAM wParam, LPARAM lParam)
else
if
(
newText
!=
NULL
)
{
/*
** Is really this nec
ase
ry? shouldnt an app update its internal data in TVN_ENDLABELEDITA?
** Is really this nec
essa
ry? shouldnt an app update its internal data in TVN_ENDLABELEDITA?
*/
if
(
!
bRevert
)
{
...
...
@@ -3910,10 +3910,11 @@ TREEVIEW_SetScrollTime (HWND hwnd, UINT uScrollTime)
static
LRESULT
WINAPI
TREEVIEW_WindowProc
(
HWND
hwnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
TREEVIEW_INFO
*
infoPtr
;
if
(
uMsg
==
WM_CREATE
)
return
TREEVIEW_Create
(
hwnd
,
wParam
,
lParam
);
if
(
!
TREEVIEW_GetInfoPtr
(
hwnd
))
if
(
!
(
infoPtr
=
TREEVIEW_GetInfoPtr
(
hwnd
)
))
return
DefWindowProcA
(
hwnd
,
uMsg
,
wParam
,
lParam
);
switch
(
uMsg
)
{
...
...
@@ -3998,6 +3999,7 @@ TREEVIEW_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
TREEVIEW_SortChildrenCB
(
hwnd
,
wParam
,
lParam
);
case
TVM_ENDEDITLABELNOW
:
if
(
infoPtr
->
editItem
)
return
TREEVIEW_EndEditLabelNow
(
hwnd
,
wParam
,
lParam
);
case
TVM_GETISEARCHSTRINGA
:
...
...
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