From 591aad04bf54892b8c73c27fd599bf3b138a0d56 Mon Sep 17 00:00:00 2001 From: ldy Date: Tue, 10 Jun 2025 06:51:33 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ldy --- services/ui/driver/ui_rotation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/ui/driver/ui_rotation.cpp b/services/ui/driver/ui_rotation.cpp index 04e6d584..c45263c5 100644 --- a/services/ui/driver/ui_rotation.cpp +++ b/services/ui/driver/ui_rotation.cpp @@ -105,7 +105,8 @@ void UiRotation::RotateBuffer(const uint8_t *origBuf, uint8_t *dstBuf, uint32_t return; } - int x {}, y {}; + int x {}; + int y {}; const uint8_t *srcP = nullptr; uint8_t *dstP = nullptr; int top = rect_.GetTop(); -- Gitee