Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
7c8cb70f
Commit
7c8cb70f
authored
Jun 17, 2019
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/image.c (image_set_rotation): Do negation at compile-time.
parent
da6deda8
Pipeline
#2136
failed with stage
in 72 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/image.c
src/image.c
+2
-2
No files found.
src/image.c
View file @
7c8cb70f
...
...
@@ -2151,8 +2151,8 @@ image_set_rotation (struct image *img, matrix3x3 tm)
matrix3x3_mult
(
rot
,
tmp
,
tmp2
);
/* Translate back. */
t
[
2
][
0
]
=
-
(
width
*
.
5
)
;
t
[
2
][
1
]
=
-
(
height
*
.
5
)
;
t
[
2
][
0
]
=
width
*
-
.
5
;
t
[
2
][
1
]
=
height
*
-
.
5
;
matrix3x3_mult
(
t
,
tmp2
,
tm
);
img
->
width
=
width
;
...
...
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