From b0235e08f0e4e715d87b9eb25610876512657399 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Sat, 10 Sep 2011 18:09:21 +0000 Subject: [PATCH] Ram Watch - fix crash when using the save icon on a new watch file with changes --- BizHawk.MultiClient/tools/RamWatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/tools/RamWatch.cs b/BizHawk.MultiClient/tools/RamWatch.cs index 387d2a5c75..b460443ca8 100644 --- a/BizHawk.MultiClient/tools/RamWatch.cs +++ b/BizHawk.MultiClient/tools/RamWatch.cs @@ -870,7 +870,7 @@ namespace BizHawk.MultiClient private void saveToolStripButton_Click(object sender, EventArgs e) { - if (changes) + if (changes && currentWatchFile.Length > 0) { SaveWatchFile(currentWatchFile); }