Commit 0ed220d0 authored by conrad's avatar conrad

tweaks to the kate properties reported by oggzinfo.

Use Content-Language instead of Language, etc.
Patch by ogg.k.ogg.k


git-svn-id: http://svn.annodex.net/liboggz/trunk@3608 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 49f92962
......@@ -245,11 +245,11 @@ ot_kate_info (unsigned char * data, long len)
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 @@ ot_kate_info (unsigned char * data, long len)
/* 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
......
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