Do not add extra space when args is empty

This commit is contained in:
Cheng Zhao 2016-08-22 09:50:58 +09:00
parent 8b9fd8a76e
commit 77dfd3a76c
4 changed files with 34 additions and 43 deletions

View file

@ -76,7 +76,7 @@ bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol,
}
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol,
mate::Arguments* args) {
mate::Arguments* args) {
if (protocol.empty())
return false;