Skip to content

Commit

Permalink
bugfix: use default template if no --char provided
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhoribu authored Dec 10, 2024
1 parent bcae31b commit 3daa837
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions profanity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def self.help_menu()
SETTINGS_FILENAME = File.join(File.expand_path(File.dirname(__FILE__)), 'templates', 'default.xml')
end
end
else
SETTINGS_FILENAME = File.join(File.expand_path(File.dirname(__FILE__)), 'templates', 'default.xml')
end

def add_prompt(window, prompt_text, cmd = "")
Expand Down

0 comments on commit 3daa837

Please sign in to comment.