Project

General

Profile

« Previous | Next » 

Revision b4ddc455

Added by Leszek Koltunski over 2 years ago

Bugfix for a crasher

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorRenderer.java
660 660

  
661 661
  public void touchCubit(int index)
662 662
    {
663
    mCubits[index].setMarked();
663
    if( index>=0 && index<mNumCubits ) mCubits[index].setMarked();
664 664
    }
665 665

  
666 666
///////////////////////////////////////////////////////////////////////////////////////////////////
667 667

  
668 668
  public void untouchCubit(int index)
669 669
    {
670
    mCubits[index].setUnmarked();
670
    if( index>=0 && index<mNumCubits ) mCubits[index].setUnmarked();
671 671
    }
672 672
}

Also available in: Unified diff