Skip to content

Commit

Permalink
Fixed command line erroring on MonitorNum=1
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Feb 6, 2021
1 parent 606b0f9 commit 199b9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {

// Get display by index
if (arg.indexOf("--monitornum=") === 0) {
validArgs.MonitorNum = (arg.substring(13) * 1) - 1
validArgs.MonitorNum = (arg.substring(13) * 1)
}

// Get display by ID (partial or whole)
Expand Down

0 comments on commit 199b9a6

Please sign in to comment.