From af85781ebb21bdb2d8cee67be614ec23ed2eadc3 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Wed, 20 Nov 2024 00:56:59 +0300 Subject: [PATCH] file_type.c: file_type_to_string(): add case for `FILE_TYPE_TEXT` --- src/file_type.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/file_type.c b/src/file_type.c index 9424e8a..063b912 100644 --- a/src/file_type.c +++ b/src/file_type.c @@ -57,6 +57,8 @@ const char* file_type_to_string(file_type_t type) { case FILE_TYPE_AUTO: case FILE_TYPE_BINARY: return "binary"; + case FILE_TYPE_TEXT: + return "plain text"; case FILE_TYPE_BMP: return "Windows Bitmap"; case FILE_TYPE_WAV: