Commit f7629a68 authored by Eric Petit's avatar Eric Petit

modules/gui/beos/VlcWrapper.cpp: fixed the issue with untranslated

  strings and "...". i18n seems OK under BeOS now.
parent a39c3623
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port) * VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.27 2003/04/22 16:36:16 titer Exp $ * $Id: VlcWrapper.cpp,v 1.28 2003/04/23 15:18:24 titer Exp $
* *
* Authors: Florian G. Pflug <fgp@phlo.org> * Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net> * Jon Lech Johansen <jon-vl@nanocrew.net>
...@@ -43,9 +43,10 @@ extern "C" ...@@ -43,9 +43,10 @@ extern "C"
const char * _AddEllipsis( char * string ) const char * _AddEllipsis( char * string )
{ {
BString newString( string ); char * temp;
newString << B_UTF8_ELLIPSIS; temp = (char*) calloc( strlen( string ) + 4, 1 );
return newString.String(); sprintf( temp, "%s%s", string, B_UTF8_ELLIPSIS );
return temp;
} }
/* constructor */ /* constructor */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment