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
4ac5d66d
Commit
4ac5d66d
authored
Jul 09, 2014
by
Huw Davies
Committed by
Alexandre Julliard
Jul 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: Only allow the absolute difference in bracket pairs to be less than 128,…
tools: Only allow the absolute difference in bracket pairs to be less than 128, since we need the sign.
parent
9329e996
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
make_unicode
tools/make_unicode
+1
-1
No files found.
tools/make_unicode
View file @
4ac5d66d
...
@@ -1345,7 +1345,7 @@ sub dump_bracket($)
...
@@ -1345,7 +1345,7 @@ sub dump_bracket($)
{
{
my
$type
=
$3
;
my
$type
=
$3
;
die
"unknown bracket $type"
unless
defined
$bracket_types
{
$type
};
die
"unknown bracket $type"
unless
defined
$bracket_types
{
$type
};
die
"characters too distant $1 and $2"
if
abs
(
hex
(
$2
)
-
hex
(
$1
))
>=
256
;
die
"characters too distant $1 and $2"
if
abs
(
hex
(
$2
)
-
hex
(
$1
))
>=
128
;
$bracket_table
[
hex
$1
]
=
(
hex
(
$2
)
-
hex
(
$1
))
%
255
;
$bracket_table
[
hex
$1
]
=
(
hex
(
$2
)
-
hex
(
$1
))
%
255
;
$bracket_table
[
hex
$1
]
+=
$bracket_types
{
$type
}
<<
8
;
$bracket_table
[
hex
$1
]
+=
$bracket_types
{
$type
}
<<
8
;
next
;
next
;
...
...
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