From: <aki...@us...> - 2006-12-12 03:37:38
|
Revision: 1020 http://svn.sourceforge.net/gridarta/?rev=1020&view=rev Author: akirschbaum Date: 2006-12-10 08:33:43 -0800 (Sun, 10 Dec 2006) Log Message: ----------- Rename variable name. Modified Paths: -------------- trunk/daimonin/src/daieditor/CMainControl.java Modified: trunk/daimonin/src/daieditor/CMainControl.java =================================================================== --- trunk/daimonin/src/daieditor/CMainControl.java 2006-12-10 16:23:38 UTC (rev 1019) +++ trunk/daimonin/src/daieditor/CMainControl.java 2006-12-10 16:33:43 UTC (rev 1020) @@ -1426,16 +1426,16 @@ * @param file the png image file to create */ public void createImageWanted(final File file) { - final MapControl mapc = currentMap; // control of current map + final MapControl mapControl = currentMap; // control of current map - if (mapc == null) { + if (mapControl == null) { // there is no map open (should not happen due to disabled menus) ACTION_FACTORY.showMessageDialog(mainView, "createImgNoMap"); } else { try { - mapc.getMapViewFrame().printFullImage(file); + mapControl.getMapViewFrame().printFullImage(file); if (log.isInfoEnabled()) { - log.info(ACTION_FACTORY.format("imageCreated", file, mapc.getMapFileName())); + log.info(ACTION_FACTORY.format("imageCreated", file, mapControl.getMapFileName())); } } catch (final IOException e) { ACTION_FACTORY.showMessageDialog(mainView, "createImgIOException", file); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |