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
0589b618
Commit
0589b618
authored
Oct 02, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Oct 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Swapped the expected and destination buffers in a test.
parent
62c544cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
editor.c
dlls/riched20/tests/editor.c
+5
-5
No files found.
dlls/riched20/tests/editor.c
View file @
0589b618
...
...
@@ -328,14 +328,14 @@ static void test_EM_GETLINE(void)
char
expectedbuf
[
1024
];
char
resultbuf
[
1024
];
int
j
;
expectedbuf
[
0
]
=
'\0'
;
for
(
j
=
0
;
j
<
32
;
j
++
)
sprintf
(
expectedbuf
+
strlen
(
expectedbuf
),
"%02x"
,
dest
[
j
]
&
0xFF
);
resultbuf
[
0
]
=
'\0'
;
for
(
j
=
0
;
j
<
32
;
j
++
)
sprintf
(
resultbuf
+
strlen
(
resultbuf
),
"%02x"
,
dest
[
j
]
&
0xFF
);
expectedbuf
[
0
]
=
'\0'
;
for
(
j
=
0
;
j
<
expected_bytes_written
;
j
++
)
sprintf
(
resultbuf
+
strlen
(
result
buf
),
"%02x"
,
gl
[
i
].
text
[
j
]
&
0xFF
);
sprintf
(
expectedbuf
+
strlen
(
expected
buf
),
"%02x"
,
gl
[
i
].
text
[
j
]
&
0xFF
);
for
(;
j
<
32
;
j
++
)
sprintf
(
resultbuf
+
strlen
(
result
buf
),
"%02x"
,
origdest
[
j
]
&
0xFF
);
sprintf
(
expectedbuf
+
strlen
(
expected
buf
),
"%02x"
,
origdest
[
j
]
&
0xFF
);
ok
(
!
strncmp
(
dest
,
gl
[
i
].
text
,
expected_bytes_written
),
"%d: expected_bytes_written=%d
\n
"
"expected=0x%s
\n
"
"but got= 0x%s
\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