Default to jpg screenshots by default
This commit is contained in:
parent
6adc9ab76f
commit
e9252bd9f2
2 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ static void make_screenshot()
|
|||
surface screenshot = CVideo::get_singleton().getSurface().clone();
|
||||
if(screenshot) {
|
||||
std::string filename = filesystem::get_screenshot_dir() + "/" + _("Screenshot") + "_";
|
||||
filename = filesystem::get_next_filename(filename, ".png");
|
||||
filename = filesystem::get_next_filename(filename, ".jpg");
|
||||
gui2::dialogs::screenshot_notification::display(filename, screenshot);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ void make_screenshot(const std::string& name, bool map_screenshot)
|
|||
surface screenshot = display::get_singleton()->screenshot(map_screenshot);
|
||||
if(screenshot) {
|
||||
std::string filename = filesystem::get_screenshot_dir() + "/" + name + "_";
|
||||
filename = filesystem::get_next_filename(filename, ".png");
|
||||
filename = filesystem::get_next_filename(filename, ".jpg");
|
||||
gui2::dialogs::screenshot_notification::display(filename, screenshot);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue