Fixed compiler warning regarding parentheses

svn path=/trunk/; revision=1072
This commit is contained in:
Curtis Gedak 2009-02-20 20:32:49 +00:00
parent 3ef0293876
commit 147562afff
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-02-20 Curtis Gedak <gedakc@gmail.com>
* src/Win_GParted.cc: Fixed compiler warning regarding parentheses.
2009-02-18 Curtis Gedak <gedakc@gmail.com> 2009-02-18 Curtis Gedak <gedakc@gmail.com>
* include/Utils.h, * include/Utils.h,

View File

@ -1605,8 +1605,8 @@ void Win_GParted::activate_format( GParted::FILESYSTEM new_fs )
//check for some limits... //check for some limits...
fs = gparted_core .get_fs( new_fs ) ; fs = gparted_core .get_fs( new_fs ) ;
if ( selected_partition .get_length() < fs .MIN || if ( ( selected_partition .get_length() < fs .MIN ) ||
fs .MAX && selected_partition .get_length() > fs .MAX ) ( fs .MAX && selected_partition .get_length() > fs .MAX ) )
{ {
Gtk::MessageDialog dialog( *this, Gtk::MessageDialog dialog( *this,
String::ucompose( _("Cannot format this file system to %1."), String::ucompose( _("Cannot format this file system to %1."),