mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 07:43:17 +00:00
Treat all 1.17 builds as dev versions, including non-canonical ones
This controls whether the "show deprecation warnings" preference defaults to on or off. It seemed odd to have that default to on for the official 1.17.x releases, yet default to off for local builds which developers are fixing.
This commit is contained in:
parent
691c157124
commit
9c810afaf3
@ -172,7 +172,7 @@ bool version_info::is_canonical() const {
|
||||
}
|
||||
|
||||
bool version_info::is_dev_version() const {
|
||||
return is_canonical() && is_odd(minor_version());
|
||||
return is_odd(minor_version());
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user