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
5ca5c848
Commit
5ca5c848
authored
May 29, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
May 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Write-strings warnings fix.
parent
4f62bf79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
treeview.c
dlls/comctl32/tests/treeview.c
+7
-5
No files found.
dlls/comctl32/tests/treeview.c
View file @
5ca5c848
...
@@ -70,25 +70,27 @@ static void IdentifyItem(HTREEITEM hItem)
...
@@ -70,25 +70,27 @@ static void IdentifyItem(HTREEITEM hItem)
static
void
FillRoot
(
void
)
static
void
FillRoot
(
void
)
{
{
TVINSERTSTRUCTA
ins
;
TVINSERTSTRUCTA
ins
;
static
CHAR
root
[]
=
"Root"
,
child
[]
=
"Child"
;
Clear
();
Clear
();
AddItem
(
'A'
);
AddItem
(
'A'
);
ins
.
hParent
=
TVI_ROOT
;
ins
.
hParent
=
TVI_ROOT
;
ins
.
hInsertAfter
=
TVI_ROOT
;
ins
.
hInsertAfter
=
TVI_ROOT
;
U
(
ins
).
item
.
mask
=
TVIF_TEXT
;
U
(
ins
).
item
.
mask
=
TVIF_TEXT
;
U
(
ins
).
item
.
pszText
=
"Root"
;
U
(
ins
).
item
.
pszText
=
root
;
hRoot
=
TreeView_InsertItem
(
hTree
,
&
ins
);
hRoot
=
TreeView_InsertItem
(
hTree
,
&
ins
);
assert
(
hRoot
);
assert
(
hRoot
);
AddItem
(
'B'
);
AddItem
(
'B'
);
ins
.
hParent
=
hRoot
;
ins
.
hParent
=
hRoot
;
ins
.
hInsertAfter
=
TVI_FIRST
;
ins
.
hInsertAfter
=
TVI_FIRST
;
U
(
ins
).
item
.
mask
=
TVIF_TEXT
;
U
(
ins
).
item
.
mask
=
TVIF_TEXT
;
U
(
ins
).
item
.
pszText
=
"Child"
;
U
(
ins
).
item
.
pszText
=
child
;
hChild
=
TreeView_InsertItem
(
hTree
,
&
ins
);
hChild
=
TreeView_InsertItem
(
hTree
,
&
ins
);
assert
(
hChild
);
assert
(
hChild
);
AddItem
(
'.'
);
AddItem
(
'.'
);
ok
(
!
strcmp
(
sequence
,
"AB."
),
"Item creation
\n
"
);
ok
(
!
strcmp
(
sequence
,
"AB."
),
"Item creation
\n
"
);
}
}
...
...
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