From 5e334d82ca2c6ee137c13000c916e672cd68cf83 Mon Sep 17 00:00:00 2001 From: Not Officer Date: Sat, 29 May 2021 23:53:18 +0200 Subject: [PATCH] fixed bad statement --- FModel/ViewModels/CUE4ParseViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index 89013bf8..fa25bdce 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -599,7 +599,7 @@ namespace FModel.ViewModels var width = img.Width; var heigth = img.Height; - while (width < UPSCALE_SIZE || heigth < UPSCALE_SIZE) + while (width < UPSCALE_SIZE && heigth < UPSCALE_SIZE) { width *= 2; heigth *= 2;