Eliminate tabs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21216 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2005-04-11 03:44:22 +00:00
parent 3bdfdfd10f
commit 01c5513683
2 changed files with 5 additions and 5 deletions

View File

@ -92,12 +92,12 @@ void DynamicLibrary::LoadLibraryPermanently(const char* filename) {
if (filename) { if (filename) {
HMODULE a_handle = LoadLibrary(filename); HMODULE a_handle = LoadLibrary(filename);
if (a_handle == 0) if (a_handle == 0)
ThrowError(std::string(filename) + ": Can't open : "); ThrowError(std::string(filename) + ": Can't open : ");
OpenedHandles.push_back(a_handle); OpenedHandles.push_back(a_handle);
} else { } else {
// When no file is specified, enumerate all DLLs and EXEs in the // When no file is specified, enumerate all DLLs and EXEs in the
// process. // process.
EnumerateLoadedModules(GetCurrentProcess(), ELM_Callback, 0); EnumerateLoadedModules(GetCurrentProcess(), ELM_Callback, 0);
} }

View File

@ -122,7 +122,7 @@ Program::ExecuteAndWait(const Path& path,
for (unsigned i = 0; args[i]; i++) { for (unsigned i = 0; args[i]; i++) {
const char *arg = args[i]; const char *arg = args[i];
size_t len = strlen(arg); size_t len = strlen(arg);
bool needsQuoting = strchr(arg, ' ') != 0; bool needsQuoting = strchr(arg, ' ') != 0;
if (needsQuoting) if (needsQuoting)
*p++ = '"'; *p++ = '"';