[gparted] Remove unnecessary Glib::ustring::compose() of constant string



commit e85c00edb67364cb5c7f61a54d96b3cb01d0adb7
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sun Oct 31 11:56:09 2021 +0000

    Remove unnecessary Glib::ustring::compose() of constant string

 src/GParted_Core.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index 982bca30..4ad347de 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -4021,7 +4021,7 @@ bool GParted_Core::update_bootsector( const Partition & partition, OperationDeta
                        /*TO TRANSLATORS: looks like Failed to set the number of hidden sectors to 05ab4f00 
in the ntfs boot record. */
                        error_message += Glib::ustring::compose( _("Failed to set the number of hidden 
sectors to %1 in the NTFS boot record."), reversed_hex ) ;
                        error_message += "\n" ;
-                       error_message += Glib::ustring::compose( _("You might try the following command to 
correct the problem:"), reversed_hex ) ;
+                       error_message += _("You might try the following command to correct the problem:");
                        error_message += "\n" ;
                        error_message += Glib::ustring::compose( "echo %1 | xxd -r -p | dd conv=notrunc of=%2 
bs=1 seek=28", reversed_hex, partition .get_path() ) ;
                        operationdetail .get_last_child() .add_child( OperationDetail( error_message, 
STATUS_NONE, FONT_ITALIC ) ) ;


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