projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3021110
)
region: Add missing return
89/280289/1
accepted/tizen/unified/20220829.062544
submit/tizen/20220826.081449
author
Seunghun Lee
<shiin.lee@samsung.com>
Fri, 26 Aug 2022 06:28:39 +0000
(15:28 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Fri, 26 Aug 2022 08:00:45 +0000
(17:00 +0900)
There is nothing to do except for copy a source to a destination when
1.0 scale given.
Change-Id: Id6d5dcfc51763280d46c199c5e93356a74fab898
src/region.c
patch
|
blob
|
history
diff --git
a/src/region.c
b/src/region.c
index
8fca28d
..
52e62c7
100644
(file)
--- a/
src/region.c
+++ b/
src/region.c
@@
-124,8
+124,10
@@
ds_region_scale_xy(pixman_region32_t *dst, pixman_region32_t *src,
pixman_box32_t *src_rects, *dst_rects;
int nrects, i;
- if (scale_x == 1.0 && scale_y == 1.0)
+ if (scale_x == 1.0 && scale_y == 1.0)
{
pixman_region32_copy(dst, src);
+ return;
+ }
src_rects = pixman_region32_rectangles(src, &nrects);
dst_rects = malloc(nrects * sizeof *dst_rects);