mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-28 04:00:24 +00:00
Fixed compiler warning regarding parentheses
svn path=/trunk/; revision=1072
This commit is contained in:
parent
3ef0293876
commit
147562afff
|
@ -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>
|
||||
|
||||
* include/Utils.h,
|
||||
|
|
|
@ -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."),
|
||||
|
|
Loading…
Reference in a new issue