Browse Source

🎨 Use empty instead of size to check for empty lists

pull/1638/head
Anders Jenbo 5 years ago
parent
commit
c9af65affe
  1. 2
      Source/DiabloUI/dialogs.cpp

2
Source/DiabloUI/dialogs.cpp

@ -277,7 +277,7 @@ void UiOkDialog(const char *text, const char *caption, bool error, const std::ve
}
inDialog = true;
Init(text, caption, error, renderBehind.size() > 0);
Init(text, caption, error, !renderBehind.empty());
DialogLoop(vecOkDialog, renderBehind);
Deinit();
inDialog = false;

Loading…
Cancel
Save