Style fixes to TermWindow.cpp
Removed trailing spaces after text generated by file drops Added a few TODOs git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1512,7 +1512,10 @@ TermView::MessageReceived(BMessage *msg)
|
||||
DoFileDrop(ref);
|
||||
|
||||
while(msg->FindRef("refs", i++, &ref) == B_OK)
|
||||
{
|
||||
WritePTY((const uchar*)" ",1);
|
||||
DoFileDrop(ref);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1608,7 +1611,6 @@ TermView::DoFileDrop(entry_ref &ref)
|
||||
BString string(path.Path());
|
||||
|
||||
string.CharacterEscape(" ~`#$&*()\\|[]{};'\"<>?!",'\\');
|
||||
string+=" ";
|
||||
WritePTY((const uchar *)string.String(), string.Length());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user