File size limit typo fix (#25478)

This commit is contained in:
Dmitrii Ivanov 2023-04-17 08:47:04 +03:00 committed by GitHub
parent cc567f2fbb
commit b203c3cbac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ namespace RegistryPreview
try
{
long fileLength = new System.IO.FileInfo(filename).Length;
if (fileLength > 1048576)
if (fileLength > 10485760)
{
ShowMessageBox(resourceLoader.GetString("LargeRegistryFileTitle"), App.AppFilename + resourceLoader.GetString("LargeRegistryFile"), resourceLoader.GetString("OkButtonText"));
ChangeCursor(gridPreview, false);