diff --git a/source/dub/recipe/sdl.d b/source/dub/recipe/sdl.d index 09e8b8d..d45bd10 100644 --- a/source/dub/recipe/sdl.d +++ b/source/dub/recipe/sdl.d @@ -355,7 +355,7 @@ { import std.string : format; if (!condition) { - throw new Exception(format("%s(%s): Error: %s", tag.location.file, tag.location.line, message), file, line); + throw new Exception(format("%s(%s): Error: %s", tag.location.file, tag.location.line + 1, message), file, line); } }