Skip to content

Commit

Permalink
Fix variable typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
user-none committed Nov 7, 2010
1 parent 189acf5 commit a292848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void Scanner::check() {
if (id.windowName.isEmpty()) {
if (kill(id.pid, 0) == -1) {
// PID does not exist; fall back to name matching.
id.windowName = command.split("/").last();
id.windowName = id.command.split("/").last();
pi.setValue(id);
} else {
// Check based on PID.
Expand Down

0 comments on commit a292848

Please sign in to comment.