mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed handling for command-line bangs starting with "["
This commit is contained in:
parent
1ec7f71ce7
commit
ef48f74a9b
@ -55,7 +55,7 @@ int RainmeterMain(LPWSTR cmdLine)
|
||||
{
|
||||
COPYDATASTRUCT cds;
|
||||
|
||||
if (cmdLine[0] == L'!')
|
||||
if (cmdLine[0] == L'!' || cmdLine[0] == L'[')
|
||||
{
|
||||
// Deliver bang to existing Rainmeter instance
|
||||
cds.dwData = 1;
|
||||
@ -82,7 +82,7 @@ int RainmeterMain(LPWSTR cmdLine)
|
||||
}
|
||||
}
|
||||
|
||||
if (cmdLine[0] == L'!' &&
|
||||
if ((cmdLine[0] == L'!' || cmdLine[0] == L'[') &&
|
||||
_wcsicmp(L"!RainmeterQuit", cmdLine) != 0 &&
|
||||
_wcsicmp(L"!Quit", cmdLine) != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user