summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/rendlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/rendlay.cpp')
-rw-r--r--src/emu/rendlay.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/rendlay.cpp b/src/emu/rendlay.cpp
index f13d8aff77b..ea227b2c77b 100644
--- a/src/emu/rendlay.cpp
+++ b/src/emu/rendlay.cpp
@@ -18,7 +18,7 @@
#include "vecstream.h"
#include "xmlfile.h"
-#include <ctype.h>
+#include <cctype>
#include <algorithm>
#include <cmath>
#include <cstddef>
@@ -2149,14 +2149,14 @@ public:
// split out position names from string and figure out our number of symbols
int location;
m_numstops = 0;
- location=symbollist.find(",");
+ location=symbollist.find(',');
while (location!=-1)
{
m_stopnames[m_numstops] = symbollist;
m_stopnames[m_numstops] = m_stopnames[m_numstops].substr(0, location);
symbollist = symbollist.substr(location+1, symbollist.length()-(location-1));
m_numstops++;
- location=symbollist.find(",");
+ location=symbollist.find(',');
}
m_stopnames[m_numstops++] = symbollist;
@@ -2166,7 +2166,7 @@ public:
for (int i=0;i<m_numstops;i++)
{
- location=m_stopnames[i].find(":");
+ location=m_stopnames[i].find(':');
if (location!=-1)
{
m_imagefile[i] = m_stopnames[i];
@@ -3414,7 +3414,7 @@ void layout_view::item::resolve_tags()
if (!m_input_tag.empty())
{
- m_input_port = m_element->machine().root_device().ioport(m_input_tag.c_str());
+ m_input_port = m_element->machine().root_device().ioport(m_input_tag);
if (m_input_port)
{
for (ioport_field &field : m_input_port->fields())