diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-11 12:49:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-12 09:14:06 +0100 |
| commit | 94056bf7f8fdef32da3cd78eff68d58560b4e6be (patch) | |
| tree | 937fad363dc94d65ec20fa2ff7aa3b303310d80f /src/lib/content.cc | |
| parent | 73654117144c6de0ec4efe39ddc88485df546cc9 (diff) | |
Replace incorrect uses of raw_convert with a new locale_convert.
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 0fd503edd..536036ff7 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -27,6 +27,7 @@ #include "content_factory.h" #include "exceptions.h" #include "film.h" +#include "locale_convert.h" #include "job.h" #include "compose.hpp" #include <dcp/raw_convert.h> @@ -365,7 +366,7 @@ Content::add_properties (list<UserProperty>& p) const UserProperty ( UserProperty::VIDEO, _("Frame rate"), - raw_convert<string> (_video_frame_rate.get(), 5), + locale_convert<string> (_video_frame_rate.get(), 5), _("frames per second") ) ); @@ -374,7 +375,7 @@ Content::add_properties (list<UserProperty>& p) const UserProperty ( UserProperty::GENERAL, _("Prepared for video frame rate"), - raw_convert<string> (_video_frame_rate.get(), 5), + locale_convert<string> (_video_frame_rate.get(), 5), _("frames per second") ) ); |
