summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2024-04-09 11:18:01 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2024-04-09 11:32:49 +0900
commit32b5d2a63601faf3d42480e65a348a98347a736c (patch)
treeb65eefb900416b80723bf66210ebef7fa7857db5
parentcc1bf21f7fcef8cc41feec3eb56d9061429a1923 (diff)
downloaddoxygen-tizen_base.tar.gz
doxygen-tizen_base.tar.bz2
doxygen-tizen_base.zip
https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f Change-Id: Ie7339ccad3475ca5e5ee2535217f1474b88108e7
-rw-r--r--deps/libmscgen/gd.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/deps/libmscgen/gd.c b/deps/libmscgen/gd.c
index a9a8aa6..7176783 100644
--- a/deps/libmscgen/gd.c
+++ b/deps/libmscgen/gd.c
@@ -2855,14 +2855,6 @@ BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src) {
}
}
- if (src->styleLength > 0) {
- dst->styleLength = src->styleLength;
- dst->stylePos = src->stylePos;
- for (i = 0; i < src->styleLength; i++) {
- dst->style[i] = src->style[i];
- }
- }
-
dst->interlace = src->interlace;
dst->alphaBlendingFlag = src->alphaBlendingFlag;
@@ -2897,6 +2889,7 @@ BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src) {
if (src->style) {
gdImageSetStyle(dst, src->style, src->styleLength);
+ dst->stylePos = src->stylePos;
}
for (i = 0; i < gdMaxColors; i++) {