mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
### Problem description It is possible for the maximum and minimum value arguments to std::clamp to be swapped which is defined in the standard as undefined behavior ### Implementation description Swap the values if necessary. --------- Co-authored-by: paxcut <53811119+paxcut@users.noreply.github.com>