From f161048081ade3f1cfa85128b48eaebbfdfd2a42 Mon Sep 17 00:00:00 2001 From: Jared Gould Date: Tue, 4 Jul 2006 01:01:57 +0000 Subject: [PATCH] Fixed map copying not working git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@78 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d --- src/enginuity/maps/Table3D.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/enginuity/maps/Table3D.java b/src/enginuity/maps/Table3D.java index f506482f..6d79d577 100644 --- a/src/enginuity/maps/Table3D.java +++ b/src/enginuity/maps/Table3D.java @@ -566,7 +566,7 @@ public class Table3D extends Table implements Serializable { String pasteType = st.nextToken(); - if (pasteType.equalsIgnoreCase("[Table3D]")) { // Paste table + if (pasteType.equalsIgnoreCase("[Table3D]")) { // Paste table String newline = System.getProperty("line.separator"); String xAxisValues = "[Table1D]" + newline + st.nextToken(newline); @@ -665,7 +665,7 @@ public class Table3D extends Table implements Serializable { } - public void pasteValues() { + public void pasteValues() { StringTokenizer st = new StringTokenizer(""); String newline = System.getProperty("line.separator"); try { @@ -695,7 +695,7 @@ public class Table3D extends Table implements Serializable { try { if (!data[x][y].getText().equalsIgnoreCase(currentToken)) { - data[x][y].setCompareRealValue(currentToken); + data[x][y].setRealValue(currentToken); } } catch (ArrayIndexOutOfBoundsException ex) { /* copied table is larger than current table*/ } }