From 009e62a2b4959320f97781ad15b5ca0277fe1169 Mon Sep 17 00:00:00 2001 From: Scott Pierce Date: Sun, 30 Sep 2012 07:11:34 -0500 Subject: [PATCH] Update lib/motion/project/config.rb Need extra parens to fix order of operations. Alternative could have been changing the "and" to "&&", but I don't know the coding guidelines. --- lib/motion/project/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/config.rb b/lib/motion/project/config.rb index 4fe60810..c24f6894 100644 --- a/lib/motion/project/config.rb +++ b/lib/motion/project/config.rb @@ -496,7 +496,7 @@ EOS end case retina when 'true' - device + (family == 1 and target >= '6.0' ? ' (Retina 4-inch)' : ' (Retina)') + device + ((family == 1 and target >= '6.0') ? ' (Retina 4-inch)' : ' (Retina)') when '3.5' device + ' (Retina 3.5-inch)' when '4'