1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-09 13:59:49 -04:00

Try to fix 32-bit MWS support

This commit is contained in:
Reinhard Pointner 2018-08-14 02:50:26 +07:00
parent 61e2f54884
commit 945d5619c6

View File

@ -62,7 +62,7 @@ public class WinAppUtilities {
NativeLong r = Kernel32.INSTANCE.GetCurrentApplicationUserModelId(applicationUserModelIdLength, applicationUserModelId); NativeLong r = Kernel32.INSTANCE.GetCurrentApplicationUserModelId(applicationUserModelIdLength, applicationUserModelId);
if (r.intValue() != W32Errors.ERROR_SUCCESS) { if (r.intValue() != W32Errors.ERROR_SUCCESS) {
throw new IllegalStateException(String.format("Kernel32.GetCurrentApplicationUserModelId (%d)", r)); throw new IllegalStateException(String.format("Kernel32.GetCurrentApplicationUserModelId (%s)", r));
} }
return applicationUserModelId.getValue(); return applicationUserModelId.getValue();