Fixed two incorrect code comments.

This commit is contained in:
Leon Styhre 2023-01-29 22:42:15 +01:00
parent b8e854b4ae
commit 2501a0aa26
2 changed files with 2 additions and 2 deletions

View file

@ -542,7 +542,7 @@ bool SystemData::loadConfig()
for (pugi::xml_node system {systemList.child("system")}; system; for (pugi::xml_node system {systemList.child("system")}; system;
system = system.next_sibling("system")) { system = system.next_sibling("system")) {
// Parse events so that the OS doesn't think the application is hanging on startup, // Poll events so that the OS doesn't think the application is hanging on startup,
// this is required as the main application loop hasn't started yet. // this is required as the main application loop hasn't started yet.
while (SDL_PollEvent(&event)) {}; while (SDL_PollEvent(&event)) {};

View file

@ -1100,7 +1100,7 @@ void ViewController::preload()
for (auto it = SystemData::sSystemVector.cbegin(); // Line break. for (auto it = SystemData::sSystemVector.cbegin(); // Line break.
it != SystemData::sSystemVector.cend(); ++it) { it != SystemData::sSystemVector.cend(); ++it) {
// Parse events so that the OS doesn't think the application is hanging on startup, // Poll events so that the OS doesn't think the application is hanging on startup,
// this is required as the main application loop hasn't started yet. // this is required as the main application loop hasn't started yet.
while (SDL_PollEvent(&event)) {}; while (SDL_PollEvent(&event)) {};