diff options
author | 2015-04-19 12:08:52 +0200 | |
---|---|---|
committer | 2015-04-19 12:08:52 +0200 | |
commit | 71c4d9f30460914a6823880e88e446799ecfe30f (patch) | |
tree | 4718c76a34a5aa2c160c381ab13cf1fa5cca99d7 /src/emu/validity.c | |
parent | 337342a4c650f38d286a3347b670fbc7ee2c343f (diff) |
removed bool conversion and implicit empty check (nw)
Diffstat (limited to 'src/emu/validity.c')
-rw-r--r-- | src/emu/validity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/validity.c b/src/emu/validity.c index 722e6c555fd..887dd76e123 100644 --- a/src/emu/validity.c +++ b/src/emu/validity.c @@ -882,7 +882,7 @@ void validity_checker::validate_inputs() portlist.append(*device, errorbuf); // report any errors during construction - if (errorbuf) + if (!errorbuf.empty()) osd_printf_error("I/O port error during construction:\n%s\n", errorbuf.c_str()); // do a first pass over ports to add their names and find duplicates |