mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2024-11-15 03:27:41 +01:00
Use correct macros when clamping to constant uint64 bounds
This commit is contained in:
parent
1a6edcb7f7
commit
dee800e2dd
@ -1065,7 +1065,7 @@ void EditorState::display_editor_settings() {
|
||||
) {
|
||||
static const std::uint64_t step = 1;
|
||||
if (ImGui::InputScalar("Snap##Editor Settings", ImGuiDataType_U64, &snap, &step, nullptr, "%d")) {
|
||||
snap = std::clamp(snap, 1UL, 1000UL);
|
||||
snap = std::clamp(snap, UINT64_C(1), UINT64_C(1000));
|
||||
};
|
||||
ImGui::SameLine();
|
||||
feis::HelpMarker(
|
||||
|
Loading…
Reference in New Issue
Block a user