Skip to content

Commit

Permalink
1 second exposure time was not displayed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
obs committed Aug 15, 2016
1 parent 2f77434 commit 1fa853c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.obsidium.bettermanual"
minSdkVersion 10
targetSdkVersion 10
versionCode 5
versionName "1.4"
versionCode 6
versionName "1.4.1"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static int getShutterValueIndex(int n, int d)

public static String formatShutterSpeed(int n, int d)
{
if (n == 1 && d != 2)
if (n == 1 && d != 2 && d != 1)
return String.format("%d/%d", n, d);
else if (d == 1)
{
Expand Down

0 comments on commit 1fa853c

Please sign in to comment.