diff options
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 6e3197cd..13ba937d 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -50,12 +50,12 @@ ModeListModel::ModeListModel() // Check if any modes available if (modes == (SDL_Rect**)0) { nmode = 0; - log("No modes"); + logger.log("No modes"); } // Check if modes restricted if (modes == (SDL_Rect**)-1) { - log("Modes unrestricted"); + logger.log("Modes unrestricted"); } for (nmode = 0; modes[nmode]; ++nmode); @@ -66,7 +66,7 @@ ModeListModel::ModeListModel() char *temp = (char*)malloc(20 * sizeof(char)); mode[i] = temp; if (sprintf(mode[i], "%d x %d", modes[i]->w, modes[i]->h) == -1) { - log("Cannot allocate mode list"); + logger.log("Cannot allocate mode list"); } } } @@ -229,7 +229,7 @@ void Setup::action(const std::string &eventId) } catch (const char *err) { new OkDialog(this, "Sound Engine", err); - log("Warning: %s", err); + logger.log("Warning: %s", err); } } else { config.setValue("sound", 0); |