From 079ccd4ed34d6c53d648e540c8de26746945cfb5 Mon Sep 17 00:00:00 2001 From: zegonix Date: Tue, 13 Oct 2026 23:10:48 +0200 Subject: [PATCH] added latex and assembly files to sources --- src/display.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/display.c b/src/display.c index 4bb1896..560acd6 100644 --- a/src/display.c +++ b/src/display.c @@ -323,10 +323,12 @@ bool compare_sources( const directory_entry_t* const entry ) return 0 == compare_strings( entry->extension, "c", 2, true ) || 0 == compare_strings( entry->extension, "cpp", 4, true ) || 0 == compare_strings( entry->extension, "h", 2, true ) - || 0 == compare_strings( entry->extension, "rs", 3, true ) + || 0 == compare_strings( entry->extension, "s", 2, false ) + || 0 == compare_strings( entry->extension, "tex", 4, true ) || 0 == compare_strings( entry->extension, "zig", 4, true ) || 0 == compare_strings( entry->extension, "odin", 5, true ) - || 0 == compare_strings( entry->extension, "py", 3, true ); + || 0 == compare_strings( entry->extension, "py", 3, true ) + || 0 == compare_strings( entry->extension, "rs", 3, true ); } void size_to_string(