desktop/win32/source/QuickStart/QuickStart.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 18bf8e100a0487ccb7c1c91ec22224e71a5838c4
Author:     brinzing <oliver.brinz...@gmx.de>
AuthorDate: Sat Oct 27 17:32:38 2018 +0200
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Tue Oct 30 13:44:06 2018 +0100

    possible fix for tdf#120928 - quickstart --killtray throws exception
    
    Change-Id: Id4081439075f4beecc2b0e4aed035d5ee28a2cfd
    Reviewed-on: https://gerrit.libreoffice.org/62429
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins
    (cherry picked from commit a41d7ee25ea5057cd887c67d33d42f4c764f9c77)
    Reviewed-on: https://gerrit.libreoffice.org/62440
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
    Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/desktop/win32/source/QuickStart/QuickStart.cxx 
b/desktop/win32/source/QuickStart/QuickStart.cxx
index 476f6533d530..e8d870891331 100644
--- a/desktop/win32/source/QuickStart/QuickStart.cxx
+++ b/desktop/win32/source/QuickStart/QuickStart.cxx
@@ -83,7 +83,7 @@ int APIENTRY wWinMain(HINSTANCE /*hInstance*/,
 
     for ( int i = 1; i < __argc; i++ )
     {
-        if ( 0 == strcmp( __argv[i], "--killtray" ) )
+        if ( 0 == wcscmp( __wargv[i], L"--killtray" ) )
         {
             HWND hwndTray = FindWindowW( QUICKSTART_CLASSNAME, nullptr );
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to