Skip to content

Commit 85e2eed

Browse files
committed
chore: fix comment consistency
1 parent 8126bde commit 85e2eed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

permissions.mm

+3-3
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,15 @@ bool HasOpenSystemPreferencesDialog() {
165165
CGWindowListCopyWindowInfo(kCGWindowListOptionAll, kCGNullWindowID);
166166
int numberOfWindows = CFArrayGetCount(windowList);
167167
for (int index = 0; index < numberOfWindows; index++) {
168-
// get information for each window
168+
// Get information for each window.
169169
NSDictionary *windowInfo =
170170
(NSDictionary *)CFArrayGetValueAtIndex(windowList, index);
171171
NSString *windowName = windowInfo[(id)kCGWindowName];
172172
NSNumber *processIdentifier = windowInfo[(id)kCGWindowOwnerPID];
173173

174-
// don't check windows owned by this process
174+
// Don't check windows owned by the current process.
175175
if (![processIdentifier isEqual:ourProcessIdentifier]) {
176-
// get process information for each window
176+
// Get process information for each window.
177177
pid_t pid = processIdentifier.intValue;
178178
NSRunningApplication *windowRunningApplication =
179179
[NSRunningApplication runningApplicationWithProcessIdentifier:pid];

0 commit comments

Comments
 (0)