summaryrefslogtreecommitdiffstats
path: root/src/osd/modules/diagnostics/diagnostics_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/diagnostics/diagnostics_win32.cpp')
-rw-r--r--src/osd/modules/diagnostics/diagnostics_win32.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/osd/modules/diagnostics/diagnostics_win32.cpp b/src/osd/modules/diagnostics/diagnostics_win32.cpp
index e76f3ca6d70..c132afb4b97 100644
--- a/src/osd/modules/diagnostics/diagnostics_win32.cpp
+++ b/src/osd/modules/diagnostics/diagnostics_win32.cpp
@@ -9,6 +9,8 @@
#include "emu.h"
#include "diagnostics_module.h"
+#include "corestr.h"
+
#if defined(OSD_WINDOWS) || defined(SDLMAME_WIN32)
// standard windows headers
@@ -529,7 +531,7 @@ bool symbol_manager::parse_sym_line(const char *line, uintptr_t &address, std::s
chptr++;
// extract the symbol name
- strtrimspace(symbol.assign(chptr));
+ symbol.assign(strtrimspace(chptr)));
return (symbol.length() > 0);
}
}
@@ -569,7 +571,7 @@ bool symbol_manager::parse_map_line(const char *line, uintptr_t &address, std::s
chptr++;
// extract the symbol name
- strtrimspace(symbol.assign(chptr));
+ symbol.assign(strtrimspace(chptr));
return (symbol.length() > 0);
}
#endif