(ICipher): fixed typo.

noticed it when "star" refused to autocomplete.
This commit is contained in:
morkt 2016-09-11 22:24:38 +04:00
parent e0a75a6ab8
commit bc82a2bdfb
2 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ namespace GameRes.Formats.KiriKiri
entry.Name = name;
entry.Type = FormatCatalog.Instance.GetTypeFromName (entry.Name);
entry.IsEncrypted = !(entry.Cipher is NoCrypt)
&& !(entry.Cipher.StratupTjsNotEncrypted && "startup.tjs" == name);
&& !(entry.Cipher.StartupTjsNotEncrypted && "startup.tjs" == name);
break;
case 0x6d676573: // "segm"
int segment_count = (int)(section_size / 0x1c);
@ -539,7 +539,7 @@ NextEntry:
Name = name,
Cipher = scheme,
IsEncrypted = use_encryption
&& !(scheme.StratupTjsNotEncrypted && name.EndsWith ("startup.tjs"))
&& !(scheme.StartupTjsNotEncrypted && name.EndsWith ("startup.tjs"))
};
bool compress = compress_contents && ShouldCompressFile (entry);
using (var file = File.Open (name, FileMode.Open, FileAccess.Read))

View File

@ -41,7 +41,7 @@ namespace GameRes.Formats.KiriKiri
/// <summary>
/// sometimes startup.tjs file is not encrypted.
/// </summary>
public bool StratupTjsNotEncrypted { get; set; }
public bool StartupTjsNotEncrypted { get; set; }
/// <summary>
/// whether XP3 index is obfuscated: