diff --git a/ninja.lua b/ninja.lua index 63b4385..2602c15 100644 --- a/ninja.lua +++ b/ninja.lua @@ -172,8 +172,9 @@ function ninja.generateWorkspace(wks) if wks.defaultplatform == "" then cfg_first = key elseif cfg.platform == wks.defaultplatform then - cfg_first = key - break + if cfg_first == nil then + cfg_first = key + end end end