[Libreoffice-commits] .: 2 commits - desktop/win32

Jesús Corrius jcorrius at kemper.freedesktop.org
Thu May 24 01:13:20 PDT 2012


 desktop/win32/source/applauncher/appusermodelid.cxx |    2 +-
 desktop/win32/source/applauncher/launcher.hxx       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8fd58d062786a44572a087f16476cd5fc01c0408
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Thu May 24 10:12:39 2012 +0200

    replace wcscat_s -> wcscat to please minGW

diff --git a/desktop/win32/source/applauncher/appusermodelid.cxx b/desktop/win32/source/applauncher/appusermodelid.cxx
index 721fefa..2095817 100644
--- a/desktop/win32/source/applauncher/appusermodelid.cxx
+++ b/desktop/win32/source/applauncher/appusermodelid.cxx
@@ -37,7 +37,7 @@ void SetExplicitAppUserModelID(PCWSTR AppID)
 {
 	WCHAR szShell32[MAX_PATH];
 	GetSystemDirectoryW(szShell32, MAX_PATH);
-	wcscat_s(szShell32, MAX_PATH, L"\\Shell32.dll");
+	wcscat(szShell32, L"\\Shell32.dll");
 
 	HINSTANCE hinstDll = LoadLibraryW(szShell32);
 
commit dbbda42a4373dcd28c9f3b11a9d66fa1f69bbb85
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Thu May 24 10:10:28 2012 +0200

    include files always in lowercase

diff --git a/desktop/win32/source/applauncher/launcher.hxx b/desktop/win32/source/applauncher/launcher.hxx
index 0dcf720..e602bfe 100644
--- a/desktop/win32/source/applauncher/launcher.hxx
+++ b/desktop/win32/source/applauncher/launcher.hxx
@@ -4,7 +4,7 @@
 #error Need C++ to compile
 #endif
 
-#include <Windows.h>
+#include <windows.h>
 
 #ifndef _INC_TCHAR
 #   ifdef UNICODE


More information about the Libreoffice-commits mailing list