Address cpplint issue "An else should appear on the same line as the preceding } [whitespace/newline] [4]"
This commit is contained in:
parent
9b7fbd4d22
commit
64bf0d210e
2 changed files with 3 additions and 6 deletions
|
@ -32,8 +32,7 @@ static COLORREF GetAccentColor() {
|
|||
GetGValue(color),
|
||||
GetBValue(color));
|
||||
success = true;
|
||||
}
|
||||
else if (
|
||||
} else if (
|
||||
RegQueryValueEx(hkey, TEXT("ColorizationColor"), nullptr,
|
||||
&type,
|
||||
reinterpret_cast<BYTE*>(&color),
|
||||
|
@ -517,8 +516,7 @@ void DesktopNotificationController::Toast::UpdateBufferSize() {
|
|||
width = width * maxDimSize / height;
|
||||
height = maxDimSize;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
if (width > maxDimSize) {
|
||||
height = height * maxDimSize / width;
|
||||
width = maxDimSize;
|
||||
|
|
|
@ -42,8 +42,7 @@ void Win32Notification::Show(
|
|||
existing->tag_.clear();
|
||||
this->notification_ref_ = std::move(existing->notification_ref_);
|
||||
this->notification_ref_.Set(title, msg, image);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this->notification_ref_ = presenter->AddNotification(title, msg, image);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue