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
95c1bd4d
Commit
95c1bd4d
authored
Oct 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Make some variables static.
parent
05e24f39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
editor.c
dlls/riched20/tests/editor.c
+6
-6
editor.c
dlls/riched32/tests/editor.c
+3
-3
No files found.
dlls/riched20/tests/editor.c
View file @
95c1bd4d
...
@@ -155,7 +155,7 @@ struct find_s {
...
@@ -155,7 +155,7 @@ struct find_s {
};
};
struct
find_s
find_tests
[]
=
{
st
atic
st
ruct
find_s
find_tests
[]
=
{
/* Find in empty text */
/* Find in empty text */
{
0
,
-
1
,
"foo"
,
FR_DOWN
,
-
1
},
{
0
,
-
1
,
"foo"
,
FR_DOWN
,
-
1
},
{
0
,
-
1
,
"foo"
,
0
,
-
1
},
{
0
,
-
1
,
"foo"
,
0
,
-
1
},
...
@@ -164,7 +164,7 @@ struct find_s find_tests[] = {
...
@@ -164,7 +164,7 @@ struct find_s find_tests[] = {
{
5
,
20
,
"foo"
,
FR_DOWN
,
-
1
}
{
5
,
20
,
"foo"
,
FR_DOWN
,
-
1
}
};
};
struct
find_s
find_tests2
[]
=
{
st
atic
st
ruct
find_s
find_tests2
[]
=
{
/* No-result find */
/* No-result find */
{
0
,
-
1
,
"foo"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
{
0
,
-
1
,
"foo"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
{
5
,
20
,
"WINE"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
{
5
,
20
,
"WINE"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
...
@@ -2446,10 +2446,10 @@ static void test_EM_SCROLL(void)
...
@@ -2446,10 +2446,10 @@ static void test_EM_SCROLL(void)
DestroyWindow
(
hwndRichEdit
);
DestroyWindow
(
hwndRichEdit
);
}
}
unsigned
int
recursionLevel
=
0
;
static
unsigned
int
recursionLevel
=
0
;
unsigned
int
WM_SIZE_recursionLevel
=
0
;
static
unsigned
int
WM_SIZE_recursionLevel
=
0
;
BOOL
bailedOutOfRecursion
=
FALSE
;
static
BOOL
bailedOutOfRecursion
=
FALSE
;
LRESULT
(
WINAPI
*
richeditProc
)(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
);
static
LRESULT
(
WINAPI
*
richeditProc
)(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
);
static
LRESULT
WINAPI
RicheditStupidOverrideProcA
(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
static
LRESULT
WINAPI
RicheditStupidOverrideProcA
(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
{
...
...
dlls/riched32/tests/editor.c
View file @
95c1bd4d
...
@@ -566,7 +566,7 @@ struct find_s {
...
@@ -566,7 +566,7 @@ struct find_s {
};
};
struct
find_s
find_tests
[]
=
{
st
atic
st
ruct
find_s
find_tests
[]
=
{
/* Find in empty text */
/* Find in empty text */
{
0
,
-
1
,
"foo"
,
FR_DOWN
,
-
1
},
{
0
,
-
1
,
"foo"
,
FR_DOWN
,
-
1
},
{
0
,
-
1
,
"foo"
,
0
,
-
1
},
{
0
,
-
1
,
"foo"
,
0
,
-
1
},
...
@@ -575,7 +575,7 @@ struct find_s find_tests[] = {
...
@@ -575,7 +575,7 @@ struct find_s find_tests[] = {
{
5
,
20
,
"foo"
,
FR_DOWN
,
-
1
}
{
5
,
20
,
"foo"
,
FR_DOWN
,
-
1
}
};
};
struct
find_s
find_tests2
[]
=
{
st
atic
st
ruct
find_s
find_tests2
[]
=
{
/* No-result find */
/* No-result find */
{
0
,
-
1
,
"foo"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
{
0
,
-
1
,
"foo"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
{
5
,
20
,
"WINE"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
{
5
,
20
,
"WINE"
,
FR_DOWN
|
FR_MATCHCASE
,
-
1
},
...
@@ -642,7 +642,7 @@ struct find_s find_tests2[] = {
...
@@ -642,7 +642,7 @@ struct find_s find_tests2[] = {
{
4
,
-
1
,
"INEW"
,
0
,
10
},
{
4
,
-
1
,
"INEW"
,
0
,
10
},
};
};
struct
find_s
find_tests3
[]
=
{
st
atic
st
ruct
find_s
find_tests3
[]
=
{
/* Searching for end of line characters */
/* Searching for end of line characters */
{
0
,
-
1
,
"t
\r\r\n
s"
,
FR_DOWN
|
FR_MATCHCASE
,
4
},
{
0
,
-
1
,
"t
\r\r\n
s"
,
FR_DOWN
|
FR_MATCHCASE
,
4
},
{
6
,
-
1
,
"
\r\n
"
,
FR_DOWN
|
FR_MATCHCASE
,
6
},
{
6
,
-
1
,
"
\r\n
"
,
FR_DOWN
|
FR_MATCHCASE
,
6
},
...
...
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