diff options
Diffstat (limited to 'src/plugins/fs/search.c')
-rw-r--r-- | src/plugins/fs/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c index 48df09ff..9985c4c3 100644 --- a/src/plugins/fs/search.c +++ b/src/plugins/fs/search.c | |||
@@ -102,7 +102,7 @@ void addEntryToSearchTree(GtkTreeStore * model, | |||
102 | else { | 102 | else { |
103 | char *dotdot; | 103 | char *dotdot; |
104 | 104 | ||
105 | while(dotdot = strstr(name, "..")) | 105 | while (NULL != (dotdot = strstr(name, ".."))) |
106 | dotdot[0] = dotdot[1] = '_'; | 106 | dotdot[0] = dotdot[1] = '_'; |
107 | } | 107 | } |
108 | 108 | ||