From fb3edfeb2786e13f10a36c76245e68fbb6312578 Mon Sep 17 00:00:00 2001 From: "Bruno G. Albuquerque" Date: Sun, 24 Aug 2008 13:14:25 +0000 Subject: [PATCH] - TAB is a valid character in a file name (although weird) and it also needs to be escaped. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27184 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/query.cpp b/src/bin/query.cpp index 1edc6ef96a..a7c783de82 100644 --- a/src/bin/query.cpp +++ b/src/bin/query.cpp @@ -85,7 +85,7 @@ perform_query(BVolume &volume, const char *predicate) } printf("%s\n", sEscapeMetaChars ? - BString().CharacterEscape(path.Path(), " ()?*&\"'[]^\\~|;!<>*$", '\\').String() + BString().CharacterEscape(path.Path(), " ()?*&\"'[]^\\~|;!<>*$\t", '\\').String() : path.Path()); } }