mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
File size limit typo fix (#25478)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user