Fixed bug where the current percentage was not displaying

This commit is contained in:
amazing-username
2017-04-29 19:09:50 +00:00
parent 755dd7fd9a
commit 26848bfd93
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -34,6 +34,7 @@ int main(int argc, char* argv[])
if (control.compare("cur") == 0)
{
br.grabBrightness();
br.grabMaxBrightness();
AlterBrightness ab{};
ab.chooseChange(control);
}
@@ -52,7 +53,6 @@ int main(int argc, char* argv[])
std::cout << "If cur then the current percentage is printed" << std::endl;
std::cout << "Adjusting the percentage by brightness is recommended" << std::endl << std::endl;
std::cout << "Example: Hot.out per 30" << std::endl << std::endl;
}
return 0;