[vlc-devel] commit: Avoid \n in error messages. ( Rémi Duraffort )

git version control git at videolan.org
Tue May 26 23:22:35 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue May 26 23:01:34 2009 +0200| [17c77005c8daada35e549abbf890828b0ce3ff55] | committer: Rémi Duraffort 

Avoid \n in error messages.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17c77005c8daada35e549abbf890828b0ce3ff55
---

 src/input/decoder.c |    2 +-
 src/misc/image.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index b795c7c..3b71c69 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -659,7 +659,7 @@ static int DecoderGetDisplayRate( decoder_t *p_dec )
 /* */
 static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
 {
-    msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'.\n"
+    msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'. "
              "VLC probably does not support this sound or video format.",
              (char*)&codec );
     dialog_Fatal( p_dec, _("No suitable decoder module"),
diff --git a/src/misc/image.c b/src/misc/image.c
index ba567af..cc11c30 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -667,7 +667,7 @@ static decoder_t *CreateDecoder( vlc_object_t *p_this, video_format_t *fmt )
     p_dec->p_module = module_need( p_dec, "decoder", "$codec", false );
     if( !p_dec->p_module )
     {
-        msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'.\n"
+        msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'. "
                  "VLC probably does not support this image format.",
                  (char*)&p_dec->fmt_in.i_codec );
 




More information about the vlc-devel mailing list