summaryrefslogtreecommitdiff
path: root/src/htstools.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-05-07 10:02:58 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-05-07 10:02:58 +0000
commit525118dfe8bb3f6b874db7920dc0ee04eede0585 (patch)
treec2f57a84561e427c09ea7a248f438c187a004c58 /src/htstools.c
parentaad35562b3293c792e858b36c3ca7d1ab2f386c6 (diff)
Charset fixes
Diffstat (limited to 'src/htstools.c')
-rw-r--r--src/htstools.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htstools.c b/src/htstools.c
index ebb5e01..049fc3c 100644
--- a/src/htstools.c
+++ b/src/htstools.c
@@ -845,6 +845,7 @@ HTSEXT_API int hts_buildtopindex(httrackp* opt,const char* path,const char* binp
return retval;
}
+/* Note: NOT utf-8 */
HTSEXT_API char* hts_getcategory(const char* filename) {
String categ = STRING_EMPTY;
if (fexist(filename)) {
@@ -867,6 +868,7 @@ HTSEXT_API char* hts_getcategory(const char* filename) {
return StringBuffRW(categ);
}
+/* Note: NOT utf-8 */
HTSEXT_API char* hts_getcategories(char* path, int type) {
String categ = STRING_EMPTY;
String profiles = STRING_EMPTY;