summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMatt K <mattkse@gmail.com>2023-11-23 21:47:34 -0600
committerMike Kaganski <mike.kaganski@collabora.com>2023-11-25 12:41:49 +0100
commitb6e273aaaf597b60f78c1dd3db8676eea958a9f5 (patch)
treea072da464e72d969865e7d26658dd9bdac938110 /solenv
parent8b50a615cbf6c09ed9cf6af6336e388cd32db28e (diff)
tdf#156243 Fix off-by-one bug for autocorrect
This change removes the "-1" from the code that applies the autocorrection so that the entire string to be autocorrected is replaced, instead of leaving off the last character. Also, the starting character of the string is preserved (i.e. non-bold if changing to bold) by adding 1 to the start position; this is for the case when the user cancels the autocorrect dialog. Change-Id: Ibe500a1ba0ca5b12ec9c918b51353074b8dd12ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154685 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/UITest.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/UITest.mk b/solenv/gbuild/UITest.mk
index 5859b9e56de4..65bc37c1d1bf 100644
--- a/solenv/gbuild/UITest.mk
+++ b/solenv/gbuild/UITest.mk
@@ -64,7 +64,7 @@ else
$(if $(gb_UITest__interactive),, \
rm -fr $@.core && mkdir -p $(dir $(call gb_UITest_get_target,$*))user/ && mkdir $@.core && cd $@.core && ) \
$(if $(gb_UITest_use_config), \
- cp $(gb_UITest_use_config) $(dir $(call gb_UITest_get_target,$*))user/. && ) \
+ cp $(gb_UITest_use_config) $(dir $(call gb_UITest_get_target,$*))user/user && ) \
$(call gb_CppunitTest_coredumpctl_setup,$@) \
($(gb_UITest_PRECOMMAND) \
$(if $(G_SLICE),G_SLICE=$(G_SLICE)) \