diff --git a/src/syosetuDownloader/MainWindow.xaml.cs b/src/syosetuDownloader/MainWindow.xaml.cs index 3c7d765..be591a3 100644 --- a/src/syosetuDownloader/MainWindow.xaml.cs +++ b/src/syosetuDownloader/MainWindow.xaml.cs @@ -65,7 +65,7 @@ public partial class MainWindow : Window static readonly Random _random = new Random((int)DateTime.Now.Ticks & 0x0000FFFF); static readonly InputSimulator _sim = new InputSimulator(); - readonly string _version = "2.4.0 plus 28"; + readonly string _version = "2.4.0 plus 29"; readonly Shell32.Shell _shell; public Util.GridViewTool.SortInfo sortInfo = new Util.GridViewTool.SortInfo(); diff --git a/src/syosetuDownloader/Util.cs b/src/syosetuDownloader/Util.cs index c9cb821..54f6202 100644 --- a/src/syosetuDownloader/Util.cs +++ b/src/syosetuDownloader/Util.cs @@ -30,7 +30,7 @@ public static void SetSort(ListView listView, SortInfo sort) if (string.IsNullOrEmpty(currentSort.PropertyName) || 0 != string.CompareOrdinal(currentSort.ColumnName, sort.ColumnName)) { // different column - number = sort.Direction == ListSortDirection.Descending ? 2 : 1; + number = sort.Direction == ListSortDirection.Descending ? 1 : 2; } else { // same column