[gnome-commander] Initialize GnomeCmdFileList::Private::sort_raising[] with GTK_SORT_ASCENDING



commit 9d81a2fbdcdde1ba03911d957da443206fb43ba2
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Jul 5 23:49:22 2010 +0200

    Initialize GnomeCmdFileList::Private::sort_raising[] with GTK_SORT_ASCENDING

 src/gnome-cmd-file-list.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 30512bd..700cb8e 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -202,7 +202,7 @@ GnomeCmdFileList::Private::Private(GnomeCmdFileList *fl)
     con_open_dialog_label = NULL;
     con_open_dialog_pbar = NULL;
 
-    memset(sort_raising, FALSE, sizeof(sort_raising));
+    memset(sort_raising, GTK_SORT_ASCENDING, sizeof(sort_raising));
 
     gint col = COLUMN_NAME;             // defaults,
     gboolean b = GTK_SORT_ASCENDING;    // used when not set by gnome_cmd_data_get_sort_params()



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