diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-05 23:46:37 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-06-05 23:46:37 +0200 |
| commit | 6c5328f07362510a41c8518ced62d74b2eff25cc (patch) | |
| tree | 308edc86eecd688a45740a03356a15d685a774c5 /src/subtitle_string.h | |
| parent | 872000f46a36849433219c0a20b11262f9f9a031 (diff) | |
Make size_in_pixels() more accurate.v1.8.20
Diffstat (limited to 'src/subtitle_string.h')
| -rw-r--r-- | src/subtitle_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h index f6d0974b..f6c39836 100644 --- a/src/subtitle_string.h +++ b/src/subtitle_string.h @@ -142,7 +142,7 @@ public: return _size; } - int size_in_pixels (int screen_height) const; + float size_in_pixels (int screen_height) const; float space_before () const { return _space_before; |
