mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 19:37:50 +00:00
Remove an old-style-cast.
This commit is contained in:
parent
bb51354198
commit
88bfe6f6ef
@ -557,7 +557,7 @@ bool show_video_mode_dialog(display& disp)
|
||||
|
||||
option << res.first << utils::unicode_multiplication_sign << res.second;
|
||||
/*widescreen threshold is 16:10*/
|
||||
if ((double)res.first/res.second >= 16.0/10.0)
|
||||
if (static_cast<double>(res.first)/res.second >= 16.0/10.0)
|
||||
option << _(" (widescreen)");
|
||||
options.push_back(option.str());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user