1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 03:35:37 +02:00

Fixed copy&paste error in last commit

This commit is contained in:
John Cortell 2009-10-16 22:49:17 +00:00
parent 64d3465010
commit bdc22eb579

View file

@ -15,7 +15,6 @@ import java.math.BigInteger;
import java.util.Properties;
import java.util.Vector;
import org.eclipse.cdt.debug.ui.memory.transport.model.IMemoryExporter;
import org.eclipse.cdt.debug.ui.memory.transport.model.IMemoryImporter;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionPoint;
@ -252,8 +251,8 @@ public class ImportMemoryDialog extends SelectionDialog
*/
static void initProperties(Properties properties, BigInteger addr) {
final String addrstr = "0x" + addr.toString(16);
if (!properties.containsKey(IMemoryExporter.TRANSFER_START)) {
properties.setProperty(IMemoryExporter.TRANSFER_START, addrstr);
if (!properties.containsKey(IMemoryImporter.TRANSFER_START)) {
properties.setProperty(IMemoryImporter.TRANSFER_START, addrstr);
}
}