Kaydet (Commit) c7e4e6b4 authored tarafından brinzing's avatar brinzing Kaydeden (comit) Thorsten Behrens

possible fix for tdf#120928 - quickstart --killtray throws exception

Change-Id: Id4081439075f4beecc2b0e4aed035d5ee28a2cfd
Reviewed-on: https://gerrit.libreoffice.org/62429Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
(cherry picked from commit a41d7ee2)
Reviewed-on: https://gerrit.libreoffice.org/62441Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst caa82892
...@@ -89,7 +89,7 @@ int APIENTRY wWinMain(HINSTANCE /*hInstance*/, ...@@ -89,7 +89,7 @@ int APIENTRY wWinMain(HINSTANCE /*hInstance*/,
for ( int i = 1; i < __argc; i++ ) 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 ); HWND hwndTray = FindWindowW( QUICKSTART_CLASSNAME, nullptr );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment