Follow-up to r50689 "* (bug 18389) Localise numbers in EXIF data (patch by Marcus Buck and Ahmad Sherif). Possible FIXME: Is said not to work for "Exif version" and fraction in "Exposure time""
Fixes the fraction formatting for the exposure time. Haven't actually seen anything with exif version?
This commit is contained in:
parent
74016b7565
commit
ea4dfa62c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1109,7 +1109,7 @@ class FormatExif {
|
|||
$gcd = $this->gcd( $numerator, $denominator );
|
||||
if( $gcd != 0 ) {
|
||||
// 0 shouldn't happen! ;)
|
||||
return $numerator / $gcd . '/' . $denominator / $gcd;
|
||||
return $this->formatNum( $numerator / $gcd ) . '/' . $this->formatNum( $denominator / $gcd );
|
||||
}
|
||||
}
|
||||
return $this->formatNum( $num );
|
||||
|
|
|
|||
Loading…
Reference in a new issue