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
bdb73f5c
Commit
bdb73f5c
authored
Sep 12, 2009
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Sep 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Fix eight conditions in compare_menuex_item.
parent
69bcb112
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
translation.c
tools/wrc/translation.c
+8
-8
No files found.
tools/wrc/translation.c
View file @
bdb73f5c
...
...
@@ -539,28 +539,28 @@ static int compare_menuex_item(menuex_item_t *menuex_item1, menuex_item_t *menue
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gotid
&&
!
menuex_item2
->
gotid
)
||
(
!
menuex_item
2
->
gotid
&&
menuex_item2
->
gotid
)))
(
!
menuex_item
1
->
gotid
&&
menuex_item2
->
gotid
)))
different
=
1
;
if
(
!
different
&&
menuex_item1
->
gottype
&&
menuex_item2
->
gottype
)
{
if
(
menuex_item1
->
type
!=
menuex_item2
->
type
)
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gottype
&&
!
menuex_item2
->
gottype
)
||
(
!
menuex_item
2
->
gottype
&&
menuex_item2
->
gottype
)))
(
!
menuex_item
1
->
gottype
&&
menuex_item2
->
gottype
)))
different
=
1
;
if
(
!
different
&&
menuex_item1
->
gotstate
&&
menuex_item2
->
gotstate
)
{
if
(
menuex_item1
->
state
!=
menuex_item2
->
state
)
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gotstate
&&
!
menuex_item2
->
gotstate
)
||
(
!
menuex_item
2
->
gotstate
&&
menuex_item2
->
gotstate
)))
(
!
menuex_item
1
->
gotstate
&&
menuex_item2
->
gotstate
)))
different
=
1
;
if
(
!
different
&&
menuex_item1
->
gothelpid
&&
menuex_item2
->
gothelpid
)
{
if
(
menuex_item1
->
helpid
!=
menuex_item2
->
helpid
)
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gothelpid
&&
!
menuex_item2
->
gothelpid
)
||
(
!
menuex_item
2
->
gothelpid
&&
menuex_item2
->
gothelpid
)))
(
!
menuex_item
1
->
gothelpid
&&
menuex_item2
->
gothelpid
)))
different
=
1
;
if
(
!
different
)
different
=
compare_menuex_item
(
menuex_item1
->
popup
,
menuex_item2
->
popup
);
...
...
@@ -571,28 +571,28 @@ static int compare_menuex_item(menuex_item_t *menuex_item1, menuex_item_t *menue
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gotid
&&
!
menuex_item2
->
gotid
)
||
(
!
menuex_item
2
->
gotid
&&
menuex_item2
->
gotid
)))
(
!
menuex_item
1
->
gotid
&&
menuex_item2
->
gotid
)))
different
=
1
;
if
(
!
different
&&
menuex_item1
->
gottype
&&
menuex_item2
->
gottype
)
{
if
(
menuex_item1
->
type
!=
menuex_item2
->
type
)
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gottype
&&
!
menuex_item2
->
gottype
)
||
(
!
menuex_item
2
->
gottype
&&
menuex_item2
->
gottype
)))
(
!
menuex_item
1
->
gottype
&&
menuex_item2
->
gottype
)))
different
=
1
;
if
(
!
different
&&
menuex_item1
->
gotstate
&&
menuex_item2
->
gotstate
)
{
if
(
menuex_item1
->
state
!=
menuex_item2
->
state
)
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gotstate
&&
!
menuex_item2
->
gotstate
)
||
(
!
menuex_item
2
->
gotstate
&&
menuex_item2
->
gotstate
)))
(
!
menuex_item
1
->
gotstate
&&
menuex_item2
->
gotstate
)))
different
=
1
;
if
(
!
different
&&
menuex_item1
->
gothelpid
&&
menuex_item2
->
gothelpid
)
{
if
(
menuex_item1
->
helpid
!=
menuex_item2
->
helpid
)
different
=
1
;
}
else
if
(
!
different
&&
((
menuex_item1
->
gothelpid
&&
!
menuex_item2
->
gothelpid
)
||
(
!
menuex_item
2
->
gothelpid
&&
menuex_item2
->
gothelpid
)))
(
!
menuex_item
1
->
gothelpid
&&
menuex_item2
->
gothelpid
)))
different
=
1
;
}
else
if
((
menuex_item1
->
name
&&
!
menuex_item2
->
name
)
||
(
!
menuex_item1
->
name
&&
menuex_item2
->
name
))
...
...
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