Obvious fixes to stupid warnings

This commit is contained in:
tamasmeszaros 2021-10-21 09:55:12 +02:00
parent e0eac1f20c
commit 5f19539df5
6 changed files with 7 additions and 7 deletions

View file

@ -205,7 +205,7 @@ void ObjectInfo::msw_rescale()
void ObjectInfo::update_warning_icon(const std::string& warning_icon_name)
{
if (showing_manifold_warning_icon = !warning_icon_name.empty()) {
if ((showing_manifold_warning_icon = !warning_icon_name.empty())) {
m_warning_icon_name = warning_icon_name;
manifold_warning_icon->SetBitmap(create_scaled_bitmap(m_warning_icon_name));
}