diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 15:59:50 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 08:49:07 +0200 |
commit | b866b71e2419c8011d969f316a28bd820c56fb5a (patch) | |
tree | 1954917e947c9f2d1036f9f0e76a912a1df6e83e /tools/source | |
parent | a6cabde7af00ca2b23fc4d9f042e71fb525c7199 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I4db1681869907f050ea224ed24dcb7469a50eb20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101792
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/misc/extendapplicationenvironment.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/misc/extendapplicationenvironment.cxx b/tools/source/misc/extendapplicationenvironment.cxx index 0324a7d0d380..13171d8e70ff 100644 --- a/tools/source/misc/extendapplicationenvironment.cxx +++ b/tools/source/misc/extendapplicationenvironment.cxx @@ -61,9 +61,9 @@ void extendApplicationEnvironment() { if (osl_getExecutableFile(&uri.pData) != osl_Process_E_None) { abort(); } - sal_Int32 lastDirSeperatorPos = uri.lastIndexOf('/'); - if (lastDirSeperatorPos >= 0) { - uri = uri.copy(0, lastDirSeperatorPos + 1); + sal_Int32 lastDirSeparatorPos = uri.lastIndexOf('/'); + if (lastDirSeparatorPos >= 0) { + uri = uri.copy(0, lastDirSeparatorPos + 1); } env.append(rtl::Bootstrap::encode(uri)); #ifdef MACOSX |