From 4a35e3ad71f16e99f1baae514342b54233125cb8 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Sat, 23 Apr 2016 14:59:54 +0300 Subject: [PATCH] vga2png: fixed bug --- vga2png.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vga2png.d b/vga2png.d index 290b70f..4af19bb 100644 --- a/vga2png.d +++ b/vga2png.d @@ -43,7 +43,7 @@ int main (string[] args) { string ifname = args[1]; string ofname; if (args.length == 3) { - ofname = args[3]; + ofname = args[2]; } else { import std.algorithm : endsWith; if (ifname.endsWith(".vga")) { -- 2.11.4.GIT