Skip to content

Commit 8f49358

Browse files
committedNov 2, 2015
Print --videomodes response to standard output, too
1 parent 3285bf7 commit 8f49358

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/client/clientlauncher.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ bool ClientLauncher::print_video_modes()
680680
return false;
681681
}
682682

683-
dstream << _("Available video modes (WxHxD):") << std::endl;
683+
std::cout << _("Available video modes (WxHxD):") << std::endl;
684684

685685
video::IVideoModeList *videomode_list = nulldevice->getVideoModeList();
686686

@@ -691,14 +691,14 @@ bool ClientLauncher::print_video_modes()
691691
for (s32 i = 0; i < videomode_count; ++i) {
692692
videomode_res = videomode_list->getVideoModeResolution(i);
693693
videomode_depth = videomode_list->getVideoModeDepth(i);
694-
dstream << videomode_res.Width << "x" << videomode_res.Height
694+
std::cout << videomode_res.Width << "x" << videomode_res.Height
695695
<< "x" << videomode_depth << std::endl;
696696
}
697697

698-
dstream << _("Active video mode (WxHxD):") << std::endl;
698+
std::cout << _("Active video mode (WxHxD):") << std::endl;
699699
videomode_res = videomode_list->getDesktopResolution();
700700
videomode_depth = videomode_list->getDesktopDepth();
701-
dstream << videomode_res.Width << "x" << videomode_res.Height
701+
std::cout << videomode_res.Width << "x" << videomode_res.Height
702702
<< "x" << videomode_depth << std::endl;
703703

704704
}

0 commit comments

Comments
 (0)
Please sign in to comment.