From 7cf098eee314ea5bacca5d56dbb7b0205cf71885 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Thu, 20 Jun 2019 10:12:03 +0900 Subject: [PATCH] Fix incorrect window parameter passing defect Change-Id: I1de6471db98b6ac3539ff87810ab2c5aee4ffff2 --- scl/sclcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl/sclcontroller.cpp b/scl/sclcontroller.cpp index 6f75fde..f515b16 100644 --- a/scl/sclcontroller.cpp +++ b/scl/sclcontroller.cpp @@ -2507,7 +2507,7 @@ CSCLController::mouse_release(sclwindow window, sclint x, sclint y, scltouchdevi for (int loop = 0;loop < MAX_KEY && !ended;loop++) { SclButtonContext *button_context = cache->get_cur_button_context(pressed_window, loop); - const SclLayoutKeyCoordinate *coordinate = cache->get_cur_layout_key_coordinate(window, loop); + const SclLayoutKeyCoordinate *coordinate = cache->get_cur_layout_key_coordinate(pressed_window, loop); if (button_context && coordinate) { if (!(button_context->used)) { ended = TRUE; -- 2.7.4