[Fix] The ISO 639-2/T code for Croatian is "hrv" and therefore it's position in the...
authorace20022 <ace20022@xbmc.org>
Thu, 16 Jan 2014 12:43:26 +0000 (13:43 +0100)
committerace20022 <ace20022@ymail.com>
Thu, 16 Jan 2014 20:10:18 +0000 (21:10 +0100)
This fixes an issue with subtitle providers.

xbmc/utils/LangCodeExpander.cpp

index 4d5f92a..066fc21 100644 (file)
@@ -800,8 +800,8 @@ extern const LCENTRY g_iso639_2[538] =
   { MAKECODE('\0','c','p','p'), "Portuguese-based (Other)" },
   { MAKECODE('\0','c','r','h'), "Crimean Tatar" },
   { MAKECODE('\0','c','r','h'), "Crimean Turkish" },
-  { MAKECODE('\0','s','c','r'), "Croatian" },
   { MAKECODE('\0','h','r','v'), "Croatian" },
+  { MAKECODE('\0','s','c','r'), "Croatian" },
   { MAKECODE('\0','c','u','s'), "Cushitic (Other)" },
   { MAKECODE('\0','c','z','e'), "Czech" },
   { MAKECODE('\0','c','e','s'), "Czech" },