From b72741ddc95143bd62545d18751b9a1eeb7c02dd Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 19 May 2014 19:37:40 +0000 Subject: tr -d '\r' --- src/htsserver.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src/htsserver.c') 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 *** */ -- cgit v1.2.3