Fixed windows OS check in both VideoUtils and HashLookupSettingsPanel

This commit is contained in:
Kelly Kelly 2022-05-23 14:23:35 -04:00
parent d617078673
commit 8a92f843b1
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ public class VideoUtils {
public static boolean canCompressAndScale(AbstractFile file) {
if (PlatformUtil.getOSName().toLowerCase().startsWith("Windows")) {
if (PlatformUtil.getOSName().toLowerCase().startsWith("windows")) {
return isVideoThumbnailSupported(file);
}

View File

@ -982,7 +982,7 @@ public final class HashLookupSettingsPanel extends IngestModuleGlobalSettingsPan
* @return true if running on windows, false otherwise
*/
private boolean isWindows() {
return PlatformUtil.getOSName().toLowerCase().startsWith("Windows");
return PlatformUtil.getOSName().toLowerCase().startsWith("windows");
}
@NbBundle.Messages({"HashLookupSettingsPanel.indexNsrl.text=This hash set appears to be the NSRL, it will be removed from the list.\n",