mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
Fix volume flag
This commit is contained in:
parent
0a947b8226
commit
79506ddf7f
@ -244,7 +244,7 @@ CApplicationContext::CApplicationContext (int argc, char* argv []) {
|
|||||||
|
|
||||||
case 'a': this->settings.general.assets = stringPathFixes (optarg); break;
|
case 'a': this->settings.general.assets = stringPathFixes (optarg); break;
|
||||||
|
|
||||||
case 'v': this->settings.audio.volume = std::max (atoi (optarg), 128); break;
|
case 'v': this->settings.audio.volume = atoi (optarg); if(this->settings.audio.volume > 128)this->settings.audio.volume = 128; break;
|
||||||
|
|
||||||
case 'c':
|
case 'c':
|
||||||
this->settings.screenshot.take = true;
|
this->settings.screenshot.take = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user