[xiph-commits] r3608 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Mon Jun 16 03:23:53 PDT 2008


Author: conrad
Date: 2008-06-16 03:23:52 -0700 (Mon, 16 Jun 2008)
New Revision: 3608

Modified:
   liboggz/trunk/src/tools/oggz_tools.c
Log:
tweaks to the kate properties reported by oggzinfo.
Use Content-Language instead of Language, etc.
Patch by ogg.k.ogg.k


Modified: liboggz/trunk/src/tools/oggz_tools.c
===================================================================
--- liboggz/trunk/src/tools/oggz_tools.c	2008-06-16 09:48:05 UTC (rev 3607)
+++ liboggz/trunk/src/tools/oggz_tools.c	2008-06-16 10:23:52 UTC (rev 3608)
@@ -245,11 +245,11 @@
 
   static const size_t KATE_INFO_BUFFER_LEN =
     1 /* tab */
-  +10 /* "Language: " */
+  +18 /* "Content-Language: " */
   +15 /* 15 chars + NUL for language */
    +1 /* \n */
    +1 /* tab */
-  +10 /* "Category: " */
+  +18 /* "Content-Category: " */
   +15 /* 15 chars + NUL for category */
    +1 /* \n */
    +1;/* terminating NUL */
@@ -260,8 +260,8 @@
 
   /* Are these headers coming from some standard ? If so, need to find what should these be for Kate */
   snprintf (buf, KATE_INFO_BUFFER_LEN,
-	    "\tLanguage: %s\n"
-            "\tCategory: %s\n",
+	    "\tContent-Language: %s\n"
+            "\tContent-Category: %s\n",
 	    &data[32], &data[48]);
 
 #undef KATE_INFO_BUFFER_LEN



More information about the commits mailing list