summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-02-01 23:45:11 +0000
committerCarl Hetherington <cth@carlh.net>2019-02-01 23:45:11 +0000
commitbad26c9a20532bec6735a8dd74cac69e205723b7 (patch)
tree1f813199f6316b34f7c1a5fcc00db2c30c134887 /src
parentb59fd12483fd5b1acc41252da02314a4bfb6c256 (diff)
Allow loading of OTF files.
Diffstat (limited to 'src')
-rw-r--r--src/wx/fonts_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc
index 4ad118262..88fcb2dce 100644
--- a/src/wx/fonts_dialog.cc
+++ b/src/wx/fonts_dialog.cc
@@ -155,7 +155,7 @@ FontsDialog::edit_clicked ()
default_dir = "/System/Library/Fonts";
#endif
- wxFileDialog* d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT (""), wxT ("*.ttf"), wxFD_CHANGE_DIR);
+ wxFileDialog* d = new wxFileDialog (this, _("Choose a font file"), default_dir, wxT(""), wxT("*.ttf;*.otf"), wxFD_CHANGE_DIR);
int const r = d->ShowModal ();
if (r != wxID_OK) {