mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
File size limit typo fix (#25478)
This commit is contained in:
@@ -29,7 +29,7 @@ namespace RegistryPreview
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
long fileLength = new System.IO.FileInfo(filename).Length;
|
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"));
|
ShowMessageBox(resourceLoader.GetString("LargeRegistryFileTitle"), App.AppFilename + resourceLoader.GetString("LargeRegistryFile"), resourceLoader.GetString("OkButtonText"));
|
||||||
ChangeCursor(gridPreview, false);
|
ChangeCursor(gridPreview, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user