desktop/source/app/updater.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4187e14558cc5e27dee7aae55b1c14e38f8fcc4e
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Tue May 27 18:31:00 2025 +0500
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat May 31 20:32:46 2025 +0200

    WNT -> _WIN32
    
    Change-Id: Idc6c8f4dbdeb8e13b6b4c5e1f68dec00b83b5fee
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186083
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 8746aa1ded8d..0702d812c387 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -88,7 +88,7 @@ constexpr std::u16string_view aSofficeExeName = 
u"soffice.exe";
 OUString normalizePath(const OUString& rPath)
 {
     OUString aPath =  rPath;
-#if defined WNT
+#if defined(_WIN32)
     aPath = aPath.replace('\', '/');
 #endif
 
@@ -114,7 +114,7 @@ OUString normalizePath(const OUString& rPath)
         aPath = aTempPath.copy(0, i) + aPath.copy(nIndex + 3);
     }
 
-#if defined WNT
+#if defined(_WIN32)
     aPath = aPath.replace('/', '\');
 #endif
     return aPath;

Reply via email to