mirror of https://github.com/buggins/dlangui.git
support older compiler
This commit is contained in:
parent
18a2451de5
commit
48bfd312f7
|
@ -87,7 +87,7 @@ class SettingsFile {
|
|||
return minvalue;
|
||||
if (value > maxvalue)
|
||||
return maxvalue;
|
||||
return value;
|
||||
return cast(int)value;
|
||||
// remove clamp to support older compilers
|
||||
//return clamp(cast(int)value, minvalue, maxvalue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue