We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8778e commit ceff738Copy full SHA for ceff738
src/Utils.vala
@@ -38,11 +38,11 @@
38
try {
39
FileInfo info = file.query_info ("*", NOFOLLOW_SYMLINKS);
40
41
- var content_type = info.get_content_type ();
42
- if (info.get_file_type () == FileType.REGULAR &&
43
- ContentType.is_a (content_type, "text/*") ||
+ var content_type = info.get_content_type ();
+ if (info.get_file_type () == FileType.REGULAR &&
+ ContentType.is_a (content_type, "text/*") ||
44
ContentType.is_a (content_type, "application/x-zerosize")
45
- ) {
+ ) {
46
return true;
47
}
48
0 commit comments