aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 689ee253..c74264c4 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -3753,9 +3753,9 @@
}
- return [NSString stringWithFormat:@"%@(MySQL %@) %@%@%@",
+ return [NSString stringWithFormat:@"%@%@ %@%@%@",
([[[self fileURL] path] length] && ![self isUntitled]) ? [NSString stringWithFormat:@"%@ — ",[self displayName]] : @"",
- mySQLVersion,
+ ([prefs boolForKey:SPDisplayServerVersionInWindowTitle]) ? [NSString stringWithFormat:@"(MySQL %@)", mySQLVersion] : @"",
[self name],
([self database]?[NSString stringWithFormat:@"/%@",[self database]]:@""),
([[self table] length]?[NSString stringWithFormat:@"/%@",[self table]]:@"")];