diff options
author | Nils Durner <durner@gnunet.org> | 2005-12-22 20:09:50 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2005-12-22 20:09:50 +0000 |
commit | 7f81b3d9bbee031ded15400b5fcb880e369baf66 (patch) | |
tree | dd91c3b90f9723653480d41cfd197bdd10a22149 | |
parent | 21f7935e7e3a8edceee0648500d2d2192d1b6cc0 (diff) | |
download | gnunet-gtk-7f81b3d9bbee031ded15400b5fcb880e369baf66.tar.gz gnunet-gtk-7f81b3d9bbee031ded15400b5fcb880e369baf66.zip |
typos
-rw-r--r-- | src/plugins/fs/namespace.c | 4 | ||||
-rw-r--r-- | src/plugins/fs/search.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fs/namespace.c b/src/plugins/fs/namespace.c index 5f9c99c5..fea5103a 100644 --- a/src/plugins/fs/namespace.c +++ b/src/plugins/fs/namespace.c | |||
@@ -223,7 +223,7 @@ static int updateView(const ECRS_FileInfo * fi, | |||
223 | if (filename == NULL) | 223 | if (filename == NULL) |
224 | filename = STRDUP(_("no name given")); | 224 | filename = STRDUP(_("no name given")); |
225 | else { | 225 | else { |
226 | char dotdot; | 226 | char *dotdot; |
227 | 227 | ||
228 | while(dotdot = strstr(filename, "..")) | 228 | while(dotdot = strstr(filename, "..")) |
229 | dotdot[0] = dotdot[1] = '_'; | 229 | dotdot[0] = dotdot[1] = '_'; |
@@ -339,7 +339,7 @@ static int addNamespaceContentToModel(void * cls, | |||
339 | if (filename == NULL) | 339 | if (filename == NULL) |
340 | filename = STRDUP(_("no name given")); | 340 | filename = STRDUP(_("no name given")); |
341 | else { | 341 | else { |
342 | char dotdot; | 342 | char *dotdot; |
343 | 343 | ||
344 | while(dotdot = strstr(filename, "..")) | 344 | while(dotdot = strstr(filename, "..")) |
345 | dotdot[0] = dotdot[1] = '_'; | 345 | dotdot[0] = dotdot[1] = '_'; |
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c index 7c9fbcd2..48df09ff 100644 --- a/src/plugins/fs/search.c +++ b/src/plugins/fs/search.c | |||
@@ -100,7 +100,7 @@ void addEntryToSearchTree(GtkTreeStore * model, | |||
100 | if (name == NULL) | 100 | if (name == NULL) |
101 | name = STRDUP(_("no name given")); | 101 | name = STRDUP(_("no name given")); |
102 | else { | 102 | else { |
103 | char dotdot; | 103 | char *dotdot; |
104 | 104 | ||
105 | while(dotdot = strstr(name, "..")) | 105 | while(dotdot = strstr(name, "..")) |
106 | dotdot[0] = dotdot[1] = '_'; | 106 | dotdot[0] = dotdot[1] = '_'; |