mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Script: Return types are now checked explicitly. As a result, 'return 5' and 'return "5"' are not equal any longer. Only the former will respect NumOfDecimals, Scale, etc. now.
- NowPlayingPlugin: Accidentally removed "Previous" bang in r880, fixed.
This commit is contained in:
@ -466,14 +466,18 @@ void ExecuteBang(LPCTSTR bang, UINT id)
|
||||
{
|
||||
(player->GetState() != PLAYER_PLAYING) ? player->Play() : player->Pause();
|
||||
}
|
||||
else if (_wcsicmp(bang, L"Stop") == 0)
|
||||
{
|
||||
player->Stop();
|
||||
}
|
||||
else if (_wcsicmp(bang, L"Next") == 0)
|
||||
{
|
||||
player->Next();
|
||||
}
|
||||
else if (_wcsicmp(bang, L"Previous") == 0)
|
||||
{
|
||||
player->Previous();
|
||||
}
|
||||
else if (_wcsicmp(bang, L"Stop") == 0)
|
||||
{
|
||||
player->Stop();
|
||||
}
|
||||
else if (_wcsicmp(bang, L"OpenPlayer") == 0)
|
||||
{
|
||||
player->OpenPlayer(parent->playerPath);
|
||||
|
Reference in New Issue
Block a user