From 0eb96f2eec11b629559e4eb20bcdce1b492694e8 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Fri, 22 Feb 2013 10:05:09 +0100 Subject: [PATCH] WRG: add parentheses to keep compiler quiet --- Code/Common/mvdI18nApplication.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/Common/mvdI18nApplication.cxx b/Code/Common/mvdI18nApplication.cxx index d241bde977..dd61392fd4 100644 --- a/Code/Common/mvdI18nApplication.cxx +++ b/Code/Common/mvdI18nApplication.cxx @@ -83,12 +83,12 @@ I18nApplication QDir build_i18n_dir( bin_dir ); // If build dir is identified... - if( build_i18n_dir.exists( "../i18n" ) + if( (build_i18n_dir.exists( "../i18n" ) && build_i18n_dir.cd( "../i18n" ) - && build_i18n_dir.exists( "../" Monteverdi2_CONFIGURE_FILE ) - || build_i18n_dir.exists( "../../i18n" ) + && build_i18n_dir.exists( "../" Monteverdi2_CONFIGURE_FILE )) + || (build_i18n_dir.exists( "../../i18n" ) && build_i18n_dir.cd( "../../i18n" ) - && build_i18n_dir.exists( "../" Monteverdi2_CONFIGURE_FILE ) ) + && build_i18n_dir.exists( "../" Monteverdi2_CONFIGURE_FILE )) ) { m_IsRunningFromBuildDir = true; -- GitLab