From b4953b41f65313f4b3077654b2299b53cfc1fed6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 31 May 2016 22:53:59 +0100 Subject: Fix some more incomplete strings in the properties dialogue (#874). --- ChangeLog | 2 ++ src/lib/raw_convert.cc | 7 +++++++ src/lib/raw_convert.h | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index db282f4db..3e6308301 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2016-05-31 Carl Hetherington + * Fix some more incomplete strings in the properties dialogue (#874). + * Fix crash on opening properties for audio-only files (#881). * Remove mention of finding subtitles when examining diff --git a/src/lib/raw_convert.cc b/src/lib/raw_convert.cc index 93807ded2..bbfd4375d 100644 --- a/src/lib/raw_convert.cc +++ b/src/lib/raw_convert.cc @@ -35,3 +35,10 @@ raw_convert (char const * v, int) { return v; } + +template <> +string +raw_convert (char * v, int) +{ + return v; +} diff --git a/src/lib/raw_convert.h b/src/lib/raw_convert.h index 623b1c525..46b7d0dff 100644 --- a/src/lib/raw_convert.h +++ b/src/lib/raw_convert.h @@ -49,6 +49,10 @@ template <> std::string raw_convert (char const * v, int); +template <> +std::string +raw_convert (char* v, int); + template <> std::string raw_convert (std::string v, int); -- cgit v1.2.3