From 8b5e4c3acecc24e8aafff6abef12cd509d042e95 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sat, 2 Jun 2012 12:55:21 +0300 Subject: [PATCH] Minor fix to 902e734 --- Library/Litestep.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Litestep.cpp b/Library/Litestep.cpp index 8232163d..9768cf36 100644 --- a/Library/Litestep.cpp +++ b/Library/Litestep.cpp @@ -76,7 +76,10 @@ void RunCommand(std::wstring command) } } - RunFile(command.c_str(), args.c_str()); + if (!command.empty()) + { + RunFile(command.c_str(), args.c_str()); + } } void RunFile(const WCHAR* file, const WCHAR* args, bool asAdmin)