Skip to content

Commit 76b9e30

Browse files
committed
using intmax for adapter default instead of -1
1 parent 391a7f7 commit 76b9e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ScreenCapture.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Screen_Capture {
2727
struct Monitor {
2828
int Id = INT32_MAX;
2929
int Index = INT32_MAX;
30-
int Adapter = -1;
30+
int Adapter = INT32_MAX;
3131
int Height = 0;
3232
int Width = 0;
3333
// Offsets are the number of pixels that a monitor can be from the origin. For example, users can shuffle their

0 commit comments

Comments
 (0)