diff options
Diffstat (limited to 'src/plugins/fs/namespace.c')
-rw-r--r-- | src/plugins/fs/namespace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/fs/namespace.c b/src/plugins/fs/namespace.c index 57520198..6378ee53 100644 --- a/src/plugins/fs/namespace.c +++ b/src/plugins/fs/namespace.c | |||
@@ -227,7 +227,7 @@ static GtkWidget * makeNamespaceFrame(GtkWidget ** treeview, | |||
227 | col - 1), | 227 | col - 1), |
228 | TRUE); | 228 | TRUE); |
229 | 229 | ||
230 | 230 | ||
231 | UNREF(namespaceXML); | 231 | UNREF(namespaceXML); |
232 | DEBUG_END(); | 232 | DEBUG_END(); |
233 | 233 | ||
@@ -270,12 +270,12 @@ static void * updateView(void * cls) { | |||
270 | filename = STRDUP(_("no name given")); | 270 | filename = STRDUP(_("no name given")); |
271 | } else { | 271 | } else { |
272 | char * dotdot; | 272 | char * dotdot; |
273 | 273 | ||
274 | while (NULL != (dotdot = strstr(filename, ".."))) | 274 | while (NULL != (dotdot = strstr(filename, ".."))) |
275 | dotdot[0] = dotdot[1] = '_'; | 275 | dotdot[0] = dotdot[1] = '_'; |
276 | filename = validate_utf8(filename); | 276 | filename = validate_utf8(filename); |
277 | } | 277 | } |
278 | 278 | ||
279 | if (ECRS_isFileUri(fi->uri)) | 279 | if (ECRS_isFileUri(fi->uri)) |
280 | size = ECRS_fileSize(fi->uri); | 280 | size = ECRS_fileSize(fi->uri); |
281 | else | 281 | else |
@@ -308,7 +308,7 @@ static int updateViewSave(const ECRS_FileInfo * fi, | |||
308 | const HashCode512 * key, | 308 | const HashCode512 * key, |
309 | int isRoot, | 309 | int isRoot, |
310 | void * closure) { | 310 | void * closure) { |
311 | gtkSaveCall(&updateView, (void*) fi); | 311 | gtkSaveCall(&updateView, (void*) fi); |
312 | return OK; | 312 | return OK; |
313 | } | 313 | } |
314 | 314 | ||
@@ -388,7 +388,7 @@ static int addNamespaceContentToModel(void * cls, | |||
388 | filename = STRDUP(_("no name given")); | 388 | filename = STRDUP(_("no name given")); |
389 | else { | 389 | else { |
390 | char *dotdot; | 390 | char *dotdot; |
391 | 391 | ||
392 | while (NULL != (dotdot = strstr(filename, ".."))) | 392 | while (NULL != (dotdot = strstr(filename, ".."))) |
393 | dotdot[0] = dotdot[1] = '_'; | 393 | dotdot[0] = dotdot[1] = '_'; |
394 | } | 394 | } |