summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorbrinzing <oliver.brinzing@gmx.de>2018-10-27 17:32:38 +0200
committerAndras Timar <andras.timar@collabora.com>2018-11-02 10:58:30 +0100
commit916996deba25019b2f0552cb2315a858a2b01fa2 (patch)
tree1b5216cbdc78dd62216d8ad04b77cada3ecf1460 /desktop
parent45c525628605f3bf7bad84670d1a86fcfa51b8ab (diff)
possible fix for tdf#120928 - quickstart --killtray throws exception
Change-Id: Id4081439075f4beecc2b0e4aed035d5ee28a2cfd Reviewed-on: https://gerrit.libreoffice.org/62429 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins (cherry picked from commit a41d7ee25ea5057cd887c67d33d42f4c764f9c77) Reviewed-on: https://gerrit.libreoffice.org/62441 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit c7e4e6b41e80309c203a4eab1f5cc03b47c31faa)
Diffstat (limited to 'desktop')
-rw-r--r--desktop/win32/source/QuickStart/QuickStart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/win32/source/QuickStart/QuickStart.cxx b/desktop/win32/source/QuickStart/QuickStart.cxx
index 0cc673c77191..f8342229c9e3 100644
--- a/desktop/win32/source/QuickStart/QuickStart.cxx
+++ b/desktop/win32/source/QuickStart/QuickStart.cxx
@@ -89,7 +89,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 );