Skip to content

Fix uninitialized clipboard flag in background mode

Initialize mCopyToClipboard to false in background mode, otherwise it gets random values due to uninitialization and copies image to clipboard when run in background mode even if user does not specify --clipboard flag (since random values are much more likely to be >0 than not).

Edited by Bharadwaj Raju

Merge request reports