Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

null pointers, go away

  • Loading branch information...
commit 3b59ac71fe6d8da3382b22f9d1d78b8f1c1e73e3 1 parent cf23c2b
@Xlythe authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/com/android2/calculator3/Logic.java
View
1  src/com/android2/calculator3/Logic.java
@@ -772,6 +772,7 @@ private String newBase(String originalNumber, int originalBase, int base) throws
String[] split = originalNumber.split("\\.");
if(split.length == 0) {
split = new String[1];
+ split[0] = "0";
}
if(split[0].isEmpty()) {
split[0] = "0";
Please sign in to comment.
Something went wrong with that request. Please try again.