From: Christian Groessler Date: Fri, 28 Mar 2014 21:40:32 +0000 (+0100) Subject: Fix error which slipped in in '-L' command line parameter handling. X-Git-Tag: V2.15~85^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a348ab73f3cc47d22fe2bc56f62b72f462556cb;p=cc65 Fix error which slipped in in '-L' command line parameter handling. --- diff --git a/src/ld65/main.c b/src/ld65/main.c index eb9cc5af1..e68ebc9f7 100644 --- a/src/ld65/main.c +++ b/src/ld65/main.c @@ -696,7 +696,7 @@ static void ParseCommandLine(void) LabelFileName = GetArg (&I, 3); break; default: - OptLibPath (Arg, InputFiles[I].FileName); + OptLibPath (Arg, GetArg (&I, 2)); break; } break;