gparted r1072 - in trunk: . src



Author: gedakc
Date: Fri Feb 20 20:32:49 2009
New Revision: 1072
URL: http://svn.gnome.org/viewvc/gparted?rev=1072&view=rev

Log:
Fixed compiler warning regarding parentheses

Modified:
   trunk/ChangeLog
   trunk/src/Win_GParted.cc

Modified: trunk/src/Win_GParted.cc
==============================================================================
--- trunk/src/Win_GParted.cc	(original)
+++ trunk/src/Win_GParted.cc	Fri Feb 20 20:32:49 2009
@@ -1605,8 +1605,8 @@
 	//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."),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]