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
c799c1ea
Commit
c799c1ea
authored
Nov 18, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Avoid size_t in traces.
parent
92d908c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
treeview.c
dlls/comctl32/tests/treeview.c
+3
-3
No files found.
dlls/comctl32/tests/treeview.c
View file @
c799c1ea
...
...
@@ -1695,7 +1695,7 @@ static void test_itemedit(void)
r
=
SetWindowTextA
(
edit
,
buffA
);
expect
(
TRUE
,
r
);
r
=
GetWindowTextA
(
edit
,
buffA
,
ARRAY_SIZE
(
buffA
));
expect
(
ARRAY_SIZE
(
buffA
)
-
1
,
r
);
ok
(
r
==
ARRAY_SIZE
(
buffA
)
-
1
,
"got %d
\n
"
,
r
);
/* ...but it's trimmed to MAX_PATH chars when editing ends */
r
=
SendMessageA
(
hTree
,
WM_COMMAND
,
MAKEWPARAM
(
0
,
EN_KILLFOCUS
),
(
LPARAM
)
edit
);
expect
(
0
,
r
);
...
...
@@ -1705,7 +1705,7 @@ static void test_itemedit(void)
item
.
cchTextMax
=
ARRAY_SIZE
(
buffA
);
r
=
SendMessageA
(
hTree
,
TVM_GETITEMA
,
0
,
(
LPARAM
)
&
item
);
expect
(
TRUE
,
r
);
expect
(
MAX_PATH
-
1
,
strlen
(
item
.
pszText
));
expect
(
MAX_PATH
-
1
,
lstrlenA
(
item
.
pszText
));
/* We can't get around that MAX_PATH limit by increasing EM_SETLIMITTEXT */
edit
=
(
HWND
)
SendMessageA
(
hTree
,
TVM_EDITLABELA
,
0
,
(
LPARAM
)
hRoot
);
...
...
@@ -1723,7 +1723,7 @@ static void test_itemedit(void)
item
.
cchTextMax
=
ARRAY_SIZE
(
buffA
);
r
=
SendMessageA
(
hTree
,
TVM_GETITEMA
,
0
,
(
LPARAM
)
&
item
);
expect
(
TRUE
,
r
);
expect
(
MAX_PATH
-
1
,
strlen
(
item
.
pszText
));
expect
(
MAX_PATH
-
1
,
lstrlenA
(
item
.
pszText
));
/* Overwriting of pszText contents in TVN_ENDLABELEDIT */
edit
=
(
HWND
)
SendMessageA
(
hTree
,
TVM_EDITLABELA
,
0
,
(
LPARAM
)
hRoot
);
...
...
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