Skip to content
Snippets Groups Projects
Commit adfa89fd authored by Lucas Jenß's avatar Lucas Jenß Committed by Lucas Jenss
Browse files

Fix "comparison always true" warning because of unsigned integer >= 0

comparison
parent a2dc9db9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -778,7 +778,7 @@ NSString *sessionsKey = @"sessions";
}
 
NSUInteger number = [[iTermController sharedInstance] indexOfTerminal:self];
if ([[PreferencePanel sharedInstance] windowNumber] && number >= 0 && number < 9) {
if ([[PreferencePanel sharedInstance] windowNumber] && number < 9) {
[[self window] setTitle:[NSString stringWithFormat:@"%d. %@", number_+1, title]];
} else {
[[self window] setTitle:title];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment