# Handle some weird edge cases of Win32 API · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b0724a350f07c5e2e8fab572951ffaaa92860b2c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b0724a350f07c5e2e8fab572951ffaaa92860b2c

Requested commit: b0724a350f07c5e2e8fab572951ffaaa92860b2c

Commit: b0724a350f07c5e2e8fab572951ffaaa92860b2c

Tree: e63e09aec7a18514e2c955c53345143f17ed9a20

Author: LemonBoy

Committer: LemonBoy

## Message

```
Handle some weird edge cases of Win32 API

Sometimes the viewport srWindow may report an invalid rectangle where
the top row is below the bottom one.

```

## Parents

- [b5a50a26ebac6a08dacf79f5d1db9bdd94ba33a5](https://git.cafe/gitcafe/zig/commit/b5a50a26ebac6a08dacf79f5d1db9bdd94ba33a5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b0724a350f07c5e2e8fab572951ffaaa92860b2c?format=markdown)
