From c5a62eb7256f88b0e4fc69db4de785ac6274f992 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sat, 13 May 2017 23:08:36 -0400 Subject: [PATCH] ketmar typo --- image.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.d b/image.d index e89e159..3baa1b0 100644 --- a/image.d +++ b/image.d @@ -158,7 +158,7 @@ public MemoryImage loadImageFromFile(T:const(char)[]) (T filename) { case ImageFileFormat.Bmp: static if (is(T == string)) return readBmp(filename); else return readBmp(filename.idup); case ImageFileFormat.Jpeg: return readJpeg(filename); case ImageFileFormat.Gif: throw new Exception("arsd has no GIF loader yet"); - case ImageFileFormat.Tga: import std.stdio; return loadTga(File(filename)); + case ImageFileFormat.Tga: return loadTga(filename); } } }