Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-07 12:29:46 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-07 12:32:01 +0300
commit7b484538db8e30b0a20315ffc448b342dd39c67f (patch)
tree62a105955d9307a732ddc7e1816222df2e4df0ac /NesMenuCollection.cs
parentc7fc8c5989cd3ae6bb2bdc93c9978fb53fd55829 (diff)
Many tiny fixes, rc5
Diffstat (limited to 'NesMenuCollection.cs')
-rw-r--r--NesMenuCollection.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/NesMenuCollection.cs b/NesMenuCollection.cs
index 5d706811..ef659ff7 100644
--- a/NesMenuCollection.cs
+++ b/NesMenuCollection.cs
@@ -46,7 +46,9 @@ namespace com.clusterrr.hakchi_gui
break;
}
if (style == SplitStyle.NoSplit && !originalToRoot) return;
- if (((style == SplitStyle.Auto && !originalToRoot) || style == SplitStyle.FoldersEqual || style == SplitStyle.PagesEqual) &&
+ if (((style == SplitStyle.Auto && !originalToRoot) ||
+ (style == SplitStyle.FoldersEqual && !originalToRoot) ||
+ (style == SplitStyle.PagesEqual) && !originalToRoot) &&
(Count <= maxElements)) return;
var total = Count - originalCount;
var partsCount = (int)Math.Ceiling((float)total / (float)maxElements);