Improve code style a bit

This commit is contained in:
def 2015-05-07 20:35:16 +02:00
commit a7b39e3ebf

View file

@ -668,7 +668,7 @@ proc callCCompiler*(projectfile: string) =
it = PStrEntry(it.next) it = PStrEntry(it.next)
if optGenStaticLib in gGlobalOptions: if optGenStaticLib in gGlobalOptions:
let (_, name, _) = splitFile(gProjectName) let name = splitFile(gProjectName).name
linkCmd = CC[c].buildLib % ["libfile", (libNameTmpl() % name), linkCmd = CC[c].buildLib % ["libfile", (libNameTmpl() % name),
"objfiles", objfiles] "objfiles", objfiles]
else: else: