From 71156fc7334e2a5e6369e22b36f42e52fbce9dbc Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 16 Apr 2024 21:55:08 +0200 Subject: [PATCH] WindowInfo Hexadecimal output for handle --- OBSBlur/Window/WindowInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OBSBlur/Window/WindowInfo.cs b/OBSBlur/Window/WindowInfo.cs index acf3a76..e7cb7cc 100644 --- a/OBSBlur/Window/WindowInfo.cs +++ b/OBSBlur/Window/WindowInfo.cs @@ -44,6 +44,6 @@ public struct WindowInfo const int cutoffStr = 17; string processNameStr = ProcessInfo.ProcessName.Substring(0, Math.Min(cutoffStr, ProcessInfo.ProcessName.Length)); string windowTitleStr = WindowTitle.Substring(0, Math.Min(cutoffStr, WindowTitle.Length)); - return $"0x{WindowHandle,6:X} | {ProcessInfo.Id,8} | {processNameStr,cutoffStr} | {windowTitleStr,-cutoffStr} | {WindowCommands,-13} | {WindowRectangle}"; + return $"0x{WindowHandle,-6:X} | {ProcessInfo.Id,8} | {processNameStr,cutoffStr} | {windowTitleStr,-cutoffStr} | {WindowCommands,-13} | {WindowRectangle}"; } } \ No newline at end of file