Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor oslMoveImageTo function for clarity and robustness #55

Merged
merged 1 commit into from
Sep 2, 2024

Commits on Sep 2, 2024

  1. Refactor oslMoveImageTo function for clarity and robustness

    - Added early return if the image is already at the desired location to avoid unnecessary processing.
    - Improved error handling by restoring the original data pointer if memory allocation fails.
    - Enhanced code readability with clear comments and logical flow.
    - Replaced numeric boolean values with `true` and `false` for better clarity.
    dogo committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    2501260 View commit details
    Browse the repository at this point in the history