mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Updated csproj files, so we don't have to migrate every time. Added a fix for BUG-1863: Cannot get access to deleted object, and added some small code quality chances. [skip ci]
This commit is contained in:
parent
63e360e254
commit
4f9d6eb865
21 changed files with 112 additions and 54 deletions
|
@ -1490,7 +1490,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// </summary>
|
||||
/// <param name="hWnd">IntPtr with the windows handle</param>
|
||||
/// <returns>String with ClassName</returns>
|
||||
public static String GetClassName(IntPtr hWnd) {
|
||||
public static string GetClassName(IntPtr hWnd) {
|
||||
StringBuilder classNameBuilder = new StringBuilder(260, 260);
|
||||
User32.GetClassName(hWnd, classNameBuilder, classNameBuilder.Capacity);
|
||||
return classNameBuilder.ToString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue