From 330c27224c52febbc2da42d627c4133902cca328 Mon Sep 17 00:00:00 2001 From: stephena Date: Sat, 15 Oct 2005 22:30:29 +0000 Subject: [PATCH] Fixed huge bug where 'Display' properties (width, height, xstart, ystart) were being incorrectly saved as 'Cartridge' properties. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@841 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/gui/GameInfoDialog.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stella/src/gui/GameInfoDialog.cxx b/stella/src/gui/GameInfoDialog.cxx index 6be3700b4..5e9b40c3b 100644 --- a/stella/src/gui/GameInfoDialog.cxx +++ b/stella/src/gui/GameInfoDialog.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: GameInfoDialog.cxx,v 1.18 2005-10-09 17:31:47 stephena Exp $ +// $Id: GameInfoDialog.cxx,v 1.19 2005-10-15 22:30:29 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -462,16 +462,16 @@ void GameInfoDialog::saveConfig() myGameProperties->set("Display.Format", s); s = myXStart->getEditString(); - myGameProperties->set("Cartridge.XStart", s); + myGameProperties->set("Display.XStart", s); s = myWidth->getEditString(); - myGameProperties->set("Cartridge.Width", s); + myGameProperties->set("Display.Width", s); s = myYStart->getEditString(); - myGameProperties->set("Cartridge.YStart", s); + myGameProperties->set("Display.YStart", s); s = myHeight->getEditString(); - myGameProperties->set("Cartridge.Height", s); + myGameProperties->set("Display.Height", s); tag = myHmoveBlanks->getSelectedTag(); s = (tag == 1) ? "Yes" : "No";