From 147562affff61bb018e1da021fb93e3d12c21b07 Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Fri, 20 Feb 2009 20:32:49 +0000 Subject: [PATCH] Fixed compiler warning regarding parentheses svn path=/trunk/; revision=1072 --- ChangeLog | 4 ++++ src/Win_GParted.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d804b7a..435a6da3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-20 Curtis Gedak + + * src/Win_GParted.cc: Fixed compiler warning regarding parentheses. + 2009-02-18 Curtis Gedak * include/Utils.h, diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index 0d06aa3b..bd4f67fe 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -1605,8 +1605,8 @@ void Win_GParted::activate_format( GParted::FILESYSTEM new_fs ) //check for some limits... fs = gparted_core .get_fs( new_fs ) ; - if ( selected_partition .get_length() < fs .MIN || - fs .MAX && selected_partition .get_length() > fs .MAX ) + if ( ( selected_partition .get_length() < fs .MIN ) || + ( fs .MAX && selected_partition .get_length() > fs .MAX ) ) { Gtk::MessageDialog dialog( *this, String::ucompose( _("Cannot format this file system to %1."),