[gparted] Replace TRUE #define with C++ true literal



commit b74b05f334a9c8458c8a01f73fff151308caf1ae
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Tue Mar 3 09:05:16 2020 +0000

    Replace TRUE #define with C++ true literal
    
    Everywhere else in the code the lower case true C++ boolean literal is
    used.  Change this one place where upper case TRUE #define was used to
    match.

 src/Dialog_Base_Partition.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/Dialog_Base_Partition.cc b/src/Dialog_Base_Partition.cc
index bfe6b403..19f1915e 100644
--- a/src/Dialog_Base_Partition.cc
+++ b/src/Dialog_Base_Partition.cc
@@ -225,7 +225,7 @@ void Dialog_Base_Partition::prepare_new_partition()
 
        // If the original before value has not changed, then set indicator to keep start sector unchanged.
        if ( ORIG_BEFORE == spinbutton_before .get_value_as_int() )
-               new_partition->strict_start = TRUE;
+               new_partition->strict_start = true;
 
        snap_to_alignment(m_device, *new_partition);
 


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