diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-01-08 18:02:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-08 18:02:19 -0500 |
| commit | 67300c65dc621683c9a530eafa6cd34ded23c23c (patch) | |
| tree | 1e1f5f850c93b5142a8983a76b5638f0fca473ac /MediaBrowser.Controller/LiveTv/LiveTvProgram.cs | |
| parent | c5c44744fc72cdbd3d784f1b24ca982f457c6e2a (diff) | |
| parent | 82a801c9ae0d7a5074ad0003d1aa5c2154da9382 (diff) | |
Merge pull request #501 from hawken93/fix_division
Fix regression in integer divisions in latest movies category
Diffstat (limited to 'MediaBrowser.Controller/LiveTv/LiveTvProgram.cs')
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/LiveTvProgram.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs b/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs index 4dc6c7517..c4a75d199 100644 --- a/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs +++ b/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs @@ -54,11 +54,11 @@ namespace MediaBrowser.Controller.LiveTv if (string.Equals(serviceName, EmbyServiceName, StringComparison.OrdinalIgnoreCase) || string.Equals(serviceName, "Next Pvr", StringComparison.OrdinalIgnoreCase)) { - return 2 / 3; + return 2.0 / 3; } else { - return 16 / 9; + return 16.0 / 9; } } |
