We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93de4be commit 781732bCopy full SHA for 781732b
src/windows/GetWindows.cpp
@@ -18,6 +18,7 @@ namespace Screen_Capture {
18
19
DWORD pid;
20
GetWindowThreadProcessId(hwnd, &pid);
21
+ w.Name[0] = '\n';
22
if (pid != GetCurrentProcessId()) {
23
auto textlen = GetWindowTextA(hwnd, w.Name, sizeof(w.Name));
24
}
0 commit comments