diff options
author | Dennis Björklund <dennisbj@users.sourceforge.net> | 2002-06-24 08:10:35 +0000 |
---|---|---|
committer | Dennis Björklund <dennisbj@users.sourceforge.net> | 2002-06-24 08:10:35 +0000 |
commit | b6a8cb15864d111eec896c5192445b51aeb6509a (patch) | |
tree | b3244236515141c88a8c79feb3ecb62c59d65d61 /src | |
parent | f037973dd6aa7504fd05168ae74307da90414770 (diff) | |
download | xine-lib-b6a8cb15864d111eec896c5192445b51aeb6509a.tar.gz xine-lib-b6a8cb15864d111eec896c5192445b51aeb6509a.tar.bz2 |
Simple array, no translation. I sure hope this works now.
CVS patchset: 2151
CVS date: 2002/06/24 08:10:35
Diffstat (limited to 'src')
-rw-r--r-- | src/libsputext/xine_decoder.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c index 50f5b6a04..024e34b4b 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.33 2002/06/24 07:55:13 dennisbj Exp $ + * $Id: xine_decoder.c,v 1.34 2002/06/24 08:10:35 dennisbj Exp $ * * code based on mplayer module: * @@ -1035,14 +1035,7 @@ static void spudec_dispose (spu_decoder_t *this_gen) { spu_decoder_t *init_spu_decoder_plugin (int iface_version, xine_t *xine) { sputext_decoder_t *this ; - static char *subtitle_size_strings[SUBTITLE_SIZE_NUM+1] = { NULL }; - - if (!subtitle_size_strings[0]) { - subtitle_size_strings[SUBTITLE_SIZE_SMALL] = _("Small"); - subtitle_size_strings[SUBTITLE_SIZE_NORMAL] = _("Normal"); - subtitle_size_strings[SUBTITLE_SIZE_LARGE] = _("Large"); - subtitle_size_strings[SUBTITLE_SIZE_NUM] = NULL; /* allready NULL since static, but good for documentation */ - } + static char *subtitle_size_strings[] = { "small", "normal", "large", NULL }; if (iface_version != 8) { printf(_("libsputext: doesn't support plugin api version %d.\n" |