summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/express.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-19 12:08:52 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-19 12:08:52 +0200
commit71c4d9f30460914a6823880e88e446799ecfe30f (patch)
tree4718c76a34a5aa2c160c381ab13cf1fa5cca99d7 /src/emu/debug/express.c
parent337342a4c650f38d286a3347b670fbc7ee2c343f (diff)
removed bool conversion and implicit empty check (nw)
Diffstat (limited to 'src/emu/debug/express.c')
-rw-r--r--src/emu/debug/express.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/express.c b/src/emu/debug/express.c
index 6269a25aa3a..46a4ff22efc 100644
--- a/src/emu/debug/express.c
+++ b/src/emu/debug/express.c
@@ -599,7 +599,7 @@ void parsed_expression::copy(const parsed_expression &src)
{
m_symtable = src.m_symtable;
m_original_string.cpy(src.m_original_string);
- if (m_original_string)
+ if (!m_original_string.empty())
parse_string_into_tokens();
}