Skip to content

Commit

Permalink
Revert connectLocation function and bump version to 2.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
clyang committed Oct 9, 2017
1 parent a704b07 commit 53d293d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.9.6.3</string>
<string>2.9.7</string>
<key>CFBundleSignature</key>
<string>abgK</string>
<key>CFBundleURLTypes</key>
Expand All @@ -49,7 +49,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>912</string>
<string>913</string>
<key>LSMinimumSystemVersion</key>
<string>10.7.0</string>
<key>LSMinimumSystemVersionByArchitecture</key>
Expand Down
4 changes: 1 addition & 3 deletions src/WLMainFrameController.m
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ - (IBAction)setEncoding:(id)sender {
- (IBAction)connectLocation:(id)sender {
[sender abortEditing];
[[_tabView window] makeFirstResponder:_tabView];
BOOL ssh = NO;
BOOL ssh = NO, WSS = NO;

NSString *name = [sender stringValue];
if ([[name lowercaseString] hasPrefix:@"ssh://"])
Expand All @@ -370,8 +370,6 @@ - (IBAction)connectLocation:(id)sender {
name = [name substringFromIndex: 9];
if ([[name lowercaseString] hasPrefix:@"bbs://"])
name = [name substringFromIndex: 6];
if ([[name lowercaseString] hasPrefix:@"wss://"])
name = [name substringFromIndex: 6];

NSMutableArray *matchedSites = [NSMutableArray array];
WLSite *s;
Expand Down

0 comments on commit 53d293d

Please sign in to comment.