Permalink
Browse files

Fix room editor exception for missing icon.

  • Loading branch information...
RobertBColton committed Oct 29, 2014
1 parent 855d2e6 commit 67892a0be78a8301572f5e6c772ab4860c8353ee
Showing with 2 additions and 2 deletions.
  1. +1 −1 org/lateralgm/messages/messages.properties
  2. +1 −1 org/lateralgm/ui/swing/visuals/RoomVisual.java
@@ -116,7 +116,7 @@ QuickFind.HIGHLIGHT = Highlight All
AboutBox.TITLE=About LateralGM
AboutBox.ABOUT=<h1 style="white-space: nowrap">Copyright &copy; 2006-2014</h1>\
<p style="white-space: nowrap">Version: 1.8.6.729<br><br>\
<p style="white-space: nowrap">Version: 1.8.6.73<br><br>\
IsmAvatar \
&lt;<a href="mailto:IsmAvatar@gmail.com">IsmAvatar@gmail.com</a>&gt;<br>\
Clam \
@@ -69,7 +69,7 @@
public class RoomVisual extends AbstractVisual implements BoundedVisual,UpdateListener
{
protected static final ImageIcon EMPTY_SPRITE = LGM.getIconForKey("Resource.EMPTY_OBJ"); //$NON-NLS-1$
protected static final BufferedImage EMPTY_IMAGE = new BufferedImage(EMPTY_SPRITE.getIconWidth(),
protected static final BufferedImage EMPTY_IMAGE = EMPTY_SPRITE.getIconWidth() <= 0 ? null : new BufferedImage(EMPTY_SPRITE.getIconWidth(),
EMPTY_SPRITE.getIconHeight(),BufferedImage.TYPE_INT_ARGB);
private final BinVisual binVisual;

0 comments on commit 67892a0

Please sign in to comment.