From 07e41dba30405b13b5a7bdfcd710df439dfaea3b Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 9 May 2016 09:53:56 -0700 Subject: [PATCH] Blank games are still a pain --- SabreHelper/Output.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreHelper/Output.cs b/SabreHelper/Output.cs index 3886eb1e..0999ded5 100644 --- a/SabreHelper/Output.cs +++ b/SabreHelper/Output.cs @@ -236,13 +236,13 @@ namespace SabreTools.Helper sw.Write((old ? header_old : header)); // Write out each of the machines and roms - string lastgame = ""; + string lastgame = null; foreach (List roms in sortable.Values) { foreach (RomData rom in roms) { string state = ""; - if (lastgame != "" && lastgame != rom.Game) + if (lastgame != null && lastgame != rom.Game) { state += (old ? ")\n" : "\t\n"); }