Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from Danlock/master
Browse files Browse the repository at this point in the history
fixes windows bug by using windows default browser'
  • Loading branch information
Azd325 committed Jan 30, 2016
2 parents 4c32cd4 + c163451 commit d161da7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions useIt.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def run(self, edit):
s = sublime.load_settings("Can I Use.sublime-settings")
default_browser = s.get('default_browser', '')

if not default_browser and sublime.platform() == 'windows':
default_browser = 'windows-default'

for region in self.view.sel():
# Get the start point of the region of the selection
point = region.begin()
Expand Down

0 comments on commit d161da7

Please sign in to comment.