diff options
author | Andras Timar <atimar@suse.com> | 2011-12-04 13:16:28 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-12-04 13:28:13 +0100 |
commit | bca4eb7a1b37c053c97c5d8c267d07187ccce3a7 (patch) | |
tree | d4d6a957921da0b04866a8e5e426ae9288f7fed5 /desktop/win32 | |
parent | d952f91d1b37cab3f634aa29a5ee84f96d4f47bd (diff) |
-quickstart -> --quickstart, etc.
Diffstat (limited to 'desktop/win32')
-rw-r--r-- | desktop/win32/source/QuickStart/QuickStart.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/win32/source/QuickStart/QuickStart.cxx b/desktop/win32/source/QuickStart/QuickStart.cxx index 242ca28842af..26276ba71ee4 100644 --- a/desktop/win32/source/QuickStart/QuickStart.cxx +++ b/desktop/win32/source/QuickStart/QuickStart.cxx @@ -48,7 +48,6 @@ bool launchSoffice( ) { if ( !SofficeRuns() ) { - // UINT ret = WinExec( "h:\\office60.630b\\program\\swriter.exe -bean", SW_SHOW ); char filename[_MAX_PATH + 1]; filename[_MAX_PATH] = 0; @@ -62,7 +61,7 @@ bool launchSoffice( ) char imagename[_MAX_PATH + 1]; imagename[_MAX_PATH] = 0; - _snprintf(imagename, _MAX_PATH, "\"%s\" -quickstart", filename ); + _snprintf(imagename, _MAX_PATH, "\"%s\" --quickstart", filename ); UINT ret = WinExec( imagename, SW_SHOW ); if ( ret < 32 ) @@ -124,11 +123,11 @@ int APIENTRY WinMain(HINSTANCE /*hInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/) { - // Look for -killtray argument + // Look for --killtray argument for ( int i = 1; i < __argc; i++ ) { - if ( 0 == strcmp( __argv[i], "-killtray" ) ) + if ( 0 == strcmp( __argv[i], "--killtray" ) ) { HWND hwndTray = FindWindow( LISTENER_WINDOWCLASS, NULL ); |