aboutsummaryrefslogtreecommitdiffstats
path: root/src/melon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/melon.c')
-rw-r--r--src/melon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/melon.c b/src/melon.c
index af6aaf4..f8bb645 100644
--- a/src/melon.c
+++ b/src/melon.c
@@ -98,7 +98,8 @@ main(int argc, char **argv)
strerror(errno));
return EXIT_FAILURE;
}
- } else if (strncmp(param->file_stat->type, "HN", 2) == 0) {
+ } else if (strncmp(param->file_stat->type, "HN", 2) == 0 ||
+ (unsigned char) param->file_stat->type[0] == 0xc8) {
if (cnki_hn(&param) != 0) {
fprintf(stderr, "%s: %s\n", argv[0],
strerror(errno));