summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index a0be66cc..e6987766 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -43,18 +43,18 @@ ModeListModel::ModeListModel()
/* Check is there are any modes available */
if (modes == (SDL_Rect **)0) {
- logger.log("No modes available");
+ logger->log("No modes available");
}
/* Check if our resolution is restricted */
if (modes == (SDL_Rect **)-1) {
- logger.log("All resolutions available");
+ logger->log("All resolutions available");
}
else{
/* Print valid modes */
- logger.log("Available Modes");
+ logger->log("Available Modes");
for (int i = 0; modes[i]; ++i) {
- logger.log(" %dx%d", modes[i]->w, modes[i]->h);
+ logger->log(" %dx%d", modes[i]->w, modes[i]->h);
std::stringstream mode;
mode << (int)modes[i]->w << "x" << (int)modes[i]->h;
videoModes.push_back(mode.str());
@@ -228,7 +228,7 @@ void Setup::action(const std::string &eventId)
}
catch (const char *err) {
new OkDialog(this, "Sound Engine", err);
- logger.log("Warning: %s", err);
+ logger->log("Warning: %s", err);
}
} else {
config.setValue("sound", 0);