From 89b587744370b71624bef1ff617901a67dc1b1fe Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sat, 29 Apr 2023 15:50:08 +0200 Subject: [PATCH] Allow 64 characters for collection names instead of 32. --- Penumbra/Collections/Manager/CollectionStorage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Collections/Manager/CollectionStorage.cs b/Penumbra/Collections/Manager/CollectionStorage.cs index 658e2e9b..0f21cd6e 100644 --- a/Penumbra/Collections/Manager/CollectionStorage.cs +++ b/Penumbra/Collections/Manager/CollectionStorage.cs @@ -208,7 +208,7 @@ public class CollectionStorage : IReadOnlyList, IDisposable /// Does not check for uniqueness. /// private static bool IsValidName(string name) - => name.Length is > 0 and < 32 && name.All(c => !c.IsInvalidAscii() && c is not '|' && !c.IsInvalidInPath()); + => name.Length is > 0 and < 64 && name.All(c => !c.IsInvalidAscii() && c is not '|' && !c.IsInvalidInPath()); /// /// Read all collection files in the Collection Directory.