diff options
| author | 2014-08-22 01:25:52 -0400 | |
|---|---|---|
| committer | 2014-08-22 01:25:52 -0400 | |
| commit | 32b7ea70ff20d3584f8021e598141c20c2200398 (patch) | |
| tree | bb5b26427c76b9e31ff146e952e765c9c36b3383 /src/cuchaz/enigma/analysis/SourceIndex.java | |
| parent | fixed constructor references in call graph searches (diff) | |
| download | enigma-fork-32b7ea70ff20d3584f8021e598141c20c2200398.tar.gz enigma-fork-32b7ea70ff20d3584f8021e598141c20c2200398.tar.xz enigma-fork-32b7ea70ff20d3584f8021e598141c20c2200398.zip | |
added show token effects
Diffstat (limited to 'src/cuchaz/enigma/analysis/SourceIndex.java')
| -rw-r--r-- | src/cuchaz/enigma/analysis/SourceIndex.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuchaz/enigma/analysis/SourceIndex.java b/src/cuchaz/enigma/analysis/SourceIndex.java index 960ec36..1a5a80d 100644 --- a/src/cuchaz/enigma/analysis/SourceIndex.java +++ b/src/cuchaz/enigma/analysis/SourceIndex.java | |||
| @@ -117,7 +117,7 @@ public class SourceIndex | |||
| 117 | public Token getReferenceToken( int pos ) | 117 | public Token getReferenceToken( int pos ) |
| 118 | { | 118 | { |
| 119 | Token token = m_tokenToReference.floorKey( new Token( pos, pos ) ); | 119 | Token token = m_tokenToReference.floorKey( new Token( pos, pos ) ); |
| 120 | if( token.contains( pos ) ) | 120 | if( token != null && token.contains( pos ) ) |
| 121 | { | 121 | { |
| 122 | return token; | 122 | return token; |
| 123 | } | 123 | } |