mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue