aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2015-11-02 02:46:36 +0100
committerKahrl <kahrl@gmx.net>2015-11-02 02:46:36 +0100
commit8f49358153637bb87f492e558a13cf9f23046e64 (patch)
tree82ff544f0a28d0c7158eaa57ddf3ac774990ca1d /src/client
parent3285bf73b9dae5b0c713f9a79263a732294c2aab (diff)
downloadminetest-8f49358153637bb87f492e558a13cf9f23046e64.tar.gz
minetest-8f49358153637bb87f492e558a13cf9f23046e64.tar.bz2
minetest-8f49358153637bb87f492e558a13cf9f23046e64.zip
Print --videomodes response to standard output, too
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientlauncher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp
index 772bbaf23..dfddef34e 100644
--- a/src/client/clientlauncher.cpp
+++ b/src/client/clientlauncher.cpp
@@ -680,7 +680,7 @@ bool ClientLauncher::print_video_modes()
return false;
}
- dstream << _("Available video modes (WxHxD):") << std::endl;
+ std::cout << _("Available video modes (WxHxD):") << std::endl;
video::IVideoModeList *videomode_list = nulldevice->getVideoModeList();
@@ -691,14 +691,14 @@ bool ClientLauncher::print_video_modes()
for (s32 i = 0; i < videomode_count; ++i) {
videomode_res = videomode_list->getVideoModeResolution(i);
videomode_depth = videomode_list->getVideoModeDepth(i);
- dstream << videomode_res.Width << "x" << videomode_res.Height
+ std::cout << videomode_res.Width << "x" << videomode_res.Height
<< "x" << videomode_depth << std::endl;
}
- dstream << _("Active video mode (WxHxD):") << std::endl;
+ std::cout << _("Active video mode (WxHxD):") << std::endl;
videomode_res = videomode_list->getDesktopResolution();
videomode_depth = videomode_list->getDesktopDepth();
- dstream << videomode_res.Width << "x" << videomode_res.Height
+ std::cout << videomode_res.Width << "x" << videomode_res.Height
<< "x" << videomode_depth << std::endl;
}