diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-07 12:29:46 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-10-07 12:32:01 +0300 |
commit | 7b484538db8e30b0a20315ffc448b342dd39c67f (patch) | |
tree | 62a105955d9307a732ddc7e1816222df2e4df0ac /NesMenuCollection.cs | |
parent | c7fc8c5989cd3ae6bb2bdc93c9978fb53fd55829 (diff) |
Many tiny fixes, rc5
Diffstat (limited to 'NesMenuCollection.cs')
-rw-r--r-- | NesMenuCollection.cs | 4 |
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);
|