[gnome-commander] Use g_string_append for "static" string instead



commit f4c11ec2a98e690489b34f8081604558a8c2c358
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date:   Fri Apr 9 11:39:47 2021 +0900

    Use g_string_append for "static" string instead

 src/dialogs/gnome-cmd-search-dialog.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 49a5e9c4..f85d1ecd 100644
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -636,7 +636,7 @@ gchar *SearchData::build_search_command()
     g_string_append (command, "find ");
     g_string_append (command, look_in_folder_quoted);
 
-    g_string_append_printf (command, " -mindepth 1"); // exclude the directory itself
+    g_string_append (command, " -mindepth 1"); // exclude the directory itself
     if (dialog->defaults.default_profile.max_depth!=-1)
         g_string_append_printf (command, " -maxdepth %i", dialog->defaults.default_profile.max_depth+1);
 


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