Convert loc() to function and add arguments checks
Summary: For debug builds, the function will fail when called with out of display coordinates, allowing to spot addressing errors. For regular builds, it will limit coordinates to valid area without triggering errors. Depends on D12551 Test Plan: * Compiles, does not fail with use cases from previous commit Reviewers: #konsole, hindenburg Reviewed By: #konsole, hindenburg Subscribers: konsole-devel, hindenburg, #konsole Tags: #konsole Differential Revision: https://phabricator.kde.org/D12553
parent
39aebeaf
Please register or sign in to comment