summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/htsserver.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/htsserver.c b/src/htsserver.c
index e1101e8..30b10bc 100644
--- a/src/htsserver.c
+++ b/src/htsserver.c
@@ -1763,26 +1763,26 @@ static int QLANG_T(int l) {
return lng; // 0=default (english)
}
-const char* LANGSEL(const char* name) {
- inthash_value value;
- if (NewLangStr != NULL
- && inthash_read_value(NewLangStr, name, &value) != 0
- && value.ptr != NULL) {
- return (char*) value.ptr;
- } else {
- return "";
- }
-}
-
-const char* LANGINTKEY(const char* name) {
- inthash_value value;
- if (NewLangStrKeys != NULL
- && inthash_read_value(NewLangStrKeys, name, &value) != 0
- && value.ptr != NULL) {
- return (char*) value.ptr;
- } else {
- return "";
- }
+const char* LANGSEL(const char* name) {
+ inthash_value value;
+ if (NewLangStr != NULL
+ && inthash_read_value(NewLangStr, name, &value) != 0
+ && value.ptr != NULL) {
+ return (char*) value.ptr;
+ } else {
+ return "";
+ }
+}
+
+const char* LANGINTKEY(const char* name) {
+ inthash_value value;
+ if (NewLangStrKeys != NULL
+ && inthash_read_value(NewLangStrKeys, name, &value) != 0
+ && value.ptr != NULL) {
+ return (char*) value.ptr;
+ } else {
+ return "";
+ }
}
/* *** Various functions *** */