From 838b3b13c25ba5d9fa68f2c64e3a06e8eac7e600 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 8 Jan 2010 17:19:41 +0000 Subject: [PATCH] Oops, forgot this. --- src/emu/cheat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/cheat.c b/src/emu/cheat.c index 96698f3747a..91b4a329c73 100644 --- a/src/emu/cheat.c +++ b/src/emu/cheat.c @@ -516,7 +516,7 @@ void cheat_render_text(running_machine *machine) /* render any text and free it along the way */ for (linenum = 0; linenum < ARRAY_LENGTH(cheatinfo->output); linenum++) - if (cheatinfo->output[linenum] != NULL) + if (cheatinfo->output[linenum].len() != 0) { /* output the text */ ui_draw_text_full(cheatinfo->output[linenum],