Code quality changes

This commit is contained in:
Robin 2016-09-22 20:40:13 +02:00
commit 610f45d082
189 changed files with 4609 additions and 5203 deletions

View file

@ -103,10 +103,10 @@ namespace GreenshotPlugin.UnmanagedHelpers {
int error = (int)errorCode;
if ((error & 0x80000000) == 0x80000000) {
return (long)error;
return error;
}
return (long)(0x80070000 | (uint)(error & 0xffff));
return 0x80070000 | (uint)(error & 0xffff);
}
public static string GetMessage(Win32Error errorCode) {