patches: fix singleLineMove compile error - out-of-scope variables
oldLine and newLine were declared inside 'if (cachedText && oldPoint > 0)' block but singleLineMove block referenced them from outside that scope. Fix: declare singleLineMove = NO before the granularity detection block; compute adjFwd/adjBwd inside the 'if (oldLine.location != newLine.location)' branch where both variables are in scope.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 1465c5f3ad2ddec5a89329de34d871207626b078 Mon Sep 17 00:00:00 2001
|
||||
From 195c2d4ccc1d607984468fa7f9a8e41005463f04 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sukany <martin@sukany.cz>
|
||||
Date: Sat, 28 Feb 2026 12:58:11 +0100
|
||||
Subject: [PATCH 1/8] ns: add accessibility base classes and text extraction
|
||||
|
||||
Reference in New Issue
Block a user