summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/chdman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/chdman.c')
-rw-r--r--src/tools/chdman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c
index a416772729d..4e73fc5f9f8 100644
--- a/src/tools/chdman.c
+++ b/src/tools/chdman.c
@@ -320,7 +320,7 @@ public:
if (offset >= startoffs && offset < endoffs)
{
// if we don't already have this file open, open it now
- if (m_file == NULL || m_lastfile != m_info.track[tracknum].fname)
+ if (m_file == NULL || m_lastfile.cmp(m_info.track[tracknum].fname)!=0)
{
if (m_file != NULL)
core_fclose(m_file);