Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

shellext/ContextMenu: fixed: dialogs failed to start from context menu

Don't use quotes when calling FindFirstFileA.

Changeset dbb7d7a6ea5f

Parent 46a67d78cf98

by Adrian Buehlmann

Changes to one file · Browse files at dbb7d7a6ea5f Showing diff from parent 46a67d78cf98 Diff from another changeset...

 
372
373
374
375
 
376
377
378
379
380
 
381
382
383
384
 
385
386
387
 
372
373
374
 
375
376
377
378
379
 
380
381
382
383
 
384
385
386
387
@@ -372,16 +372,16 @@
  TDEBUG_TRACE("DoHgtk: THG root is empty");   return;   } - std::string hgcmd = Quote(dir + "\\hgtk.exe"); + std::string hgcmd = dir + "\\hgtk.exe";     WIN32_FIND_DATAA data;   HANDLE hfind = FindFirstFileA(hgcmd.c_str(), &data);   if (hfind == INVALID_HANDLE_VALUE) - hgcmd = Quote(dir + "\\hgtk.cmd"); + hgcmd = dir + "\\hgtk.cmd";   else   FindClose(hfind);   - hgcmd += " " + cmd; + hgcmd = Quote(hgcmd) + " " + cmd;     std::string cwd;   if (!myFolder.empty())