[vlc-devel] commit: SO friendliness ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jul 12 16:55:33 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 12 17:55:19 2009 +0300| [a815b654ded3606d881d694af2e7efa18752d07d] | committer: Rémi Denis-Courmont 

SO friendliness

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

 include/vlc_iso_lang.h |   10 +++++-----
 src/text/iso-639_def.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/vlc_iso_lang.h b/include/vlc_iso_lang.h
index 2d8ddb6..e37739f 100644
--- a/include/vlc_iso_lang.h
+++ b/include/vlc_iso_lang.h
@@ -29,11 +29,11 @@
 
 struct iso639_lang_t
 {
-    const char * psz_eng_name;        /* Description in English */
-    const char * psz_native_name;     /* Description in native language */
-    const char * psz_iso639_1;        /* ISO-639-1 (2 characters) code */
-    const char * psz_iso639_2T;       /* ISO-639-2/T (3 characters) English code */
-    const char * psz_iso639_2B;       /* ISO-639-2/B (3 characters) native code */
+    const char *psz_eng_name;    /* Description in English */
+    const char *psz_native_name; /* Description in native language */
+    const char psz_iso639_1[3];  /* ISO-639-1 (2 characters) code */
+    const char psz_iso639_2T[4]; /* ISO-639-2/T (3 characters) English code */
+    const char psz_iso639_2B[4]; /* ISO-639-2/B (3 characters) native code */
 };
 
 #if defined( __cplusplus )
diff --git a/src/text/iso-639_def.h b/src/text/iso-639_def.h
index c936cb3..68d2d2c 100644
--- a/src/text/iso-639_def.h
+++ b/src/text/iso-639_def.h
@@ -201,6 +201,6 @@ static const iso639_lang_t p_languages[] =
     { N_( "Yoruba" ),           "",            "yo", "yor", "yor" },
     { N_( "Zhuang" ),           "",            "za", "zha", "zha" },
     { N_( "Zulu" ),             "",            "zu", "zul", "zul" },
-    { NULL, NULL, NULL, NULL, NULL }
+    { NULL,                   NULL,            "",   "",    "" }
 };
 




More information about the vlc-devel mailing list