From 492789f0a4e379ad95cadb4422fb8ebf7ab6d8c4 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 31 Oct 2015 19:43:39 +0000 Subject: [PATCH] format fixes --- main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.cc b/main.cc index 69e74cc..63d4a02 100644 --- a/main.cc +++ b/main.cc @@ -47,8 +47,7 @@ static bool ob_check_file(ConstCharRange fname) { return ostd::FileStream(fname, ostd::StreamMode::read).is_open(); } -static bool ob_check_exec(ConstCharRange tname, - const Vector &deps) { +static bool ob_check_exec(ConstCharRange tname, const Vector &deps) { if (!ob_check_file(tname)) return true; for (auto &dep: deps.iter()) @@ -366,8 +365,9 @@ int main(int argc, char **argv) { if (!lslash.empty()) { lslash.pop_front(); os.progname = lslash; - } else + } else { os.progname = pn; + } cscript::init_lib_base(os.cs); cscript::init_lib_io(os.cs);