Screenshot: Fix argc count

... which I missed in my last commit, sorry for the noise.
This commit is contained in:
John Scipione
2016-04-01 06:58:44 -07:00
parent ea810bf683
commit 7c6b944cea
+2 -1
View File
@@ -394,10 +394,11 @@ void
ScreenshotWindow::_NewScreenshot(bool silent, bool clipboard, bool ignoreDelay)
{
BMessage message(B_ARGV_RECEIVED);
int32 argc = 3;
int32 argc = 1;
message.AddString("argv", "screenshot");
if (!ignoreDelay) {
argc += 2;
BString delay;
delay << fDelay / 1000000;
message.AddString("argv", "--delay");