Changeset 1191


Ignore:
Timestamp:
9/16/2009 2:20:07 PM (5 years ago)
Author:
lowjoel
Message:

File erasures now explicitly require a --file parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/ShellExt/CtxMenu.cpp

    r1190 r1191  
    571571                            commandLine += L"\"-d=" + escapedItem + L"\" "; 
    572572                        else 
    573                             commandLine += L"\"" + escapedItem + L"\" "; 
     573                            commandLine += L"\"-f=" + escapedItem + L"\" "; 
    574574                    } 
    575575                } 
     
    678678        //Escape the command line (= and , are special characters) 
    679679        std::wstring escapedItem; 
    680         escapedItem.reserve(item.length()); 
    681         for (std::wstring::const_iterator i = item.begin(); i != item.end(); ++i) 
     680        escapedItem.reserve(string.length()); 
     681        for (std::wstring::const_iterator i = string.begin(); i != string.end(); ++i) 
    682682        { 
    683683            if (wcschr(L"\\=,", *i)) 
Note: See TracChangeset for help on using the changeset viewer.