Skip to content

Commit

Permalink
Revert "Fix loading of the ignore files stopping, if there is a dupli…
Browse files Browse the repository at this point in the history
…cate name."

This reverts commit d34fd7b.
  • Loading branch information
pjbroad committed Oct 8, 2024
1 parent d34fd7b commit 312ccc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ignore.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ void load_ignores_list(char * file_name)
ch = ignore_list_mem[i];
if (ch == '\n' || ch == '\r')
{
if (j > 0 && add_to_ignore_list(name, 0) == -2)
// cannot add more as list is full
if (j > 0 && add_to_ignore_list(name, 0) == -1)
// ignore list full
break;
j = 0;
i++;
Expand Down
6 changes: 0 additions & 6 deletions main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#ifdef LINUX
#include <X11/Xlib.h>
#endif
#ifdef OSX
#include <libgen.h>
#endif
Expand Down Expand Up @@ -561,9 +558,6 @@ int Main(int argc, char **argv)
int main(int argc, char **argv)
#endif
{
#ifdef LINUX
XInitThreads();
#endif
#ifdef ANDROID
initialize_gl4es();
#endif
Expand Down

0 comments on commit 312ccc6

Please sign in to comment.