Commit aff14a21 authored by Hanspeter Portner's avatar Hanspeter Portner

nk: fix discovering lua files with multiple dots.

parent 202b4d4c
Pipeline #17801022 (#) passed with stages
in 4 minutes and 53 seconds
......@@ -403,7 +403,7 @@ dir_list(const char *dir, int return_subdirs, int return_hidden,
char *point = strchr(data->d_name, '.');
char *point = strrchr(data->d_name, '.');
if(!point) // no suffix
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment