summaryrefslogtreecommitdiff
path: root/src/htsserver.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-19 19:37:40 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-19 19:37:40 +0000
commitb72741ddc95143bd62545d18751b9a1eeb7c02dd (patch)
treec82e873298e1aeb8fd09d0373d56bb5546fcaa47 /src/htsserver.c
parent1edfda507d08e822a6ef01afbd229af125a1e002 (diff)
tr -d '\r'
Diffstat (limited to 'src/htsserver.c')
-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 *** */