summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/font/font_osx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/font/font_osx.cpp')
-rw-r--r--src/osd/modules/font/font_osx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/font/font_osx.cpp b/src/osd/modules/font/font_osx.cpp
index 42c61b1fa6d..327c6f1244b 100644
--- a/src/osd/modules/font/font_osx.cpp
+++ b/src/osd/modules/font/font_osx.cpp
@@ -56,7 +56,7 @@ bool osd_font_osx::open(std::string const &font_path, std::string const &name, i
osd_printf_verbose("osd_font_osx::open: name=\"%s\"\n", name);
CFStringRef font_name;
- if (!strcmp(name.c_str(), "default"))
+ if (name == "default")
{
// Arial Unicode MS comes with Mac OS X 10.5 and later and is the only Mac default font with
// the Unicode characters used by the vgmplay and aristmk5 layouts.