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

shellext/IconOverlay.cpp: remove commented out code in CShellExt::GetOverlayInfo

Changeset d293d7db789e

Parent b4e54d5d46a7

by Adrian Buehlmann

Changes to one file · Browse files at d293d7db789e Showing diff from parent b4e54d5d46a7 Diff from another changeset...

 
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
46
47
48
 
27
28
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
31
32
33
@@ -27,22 +27,7 @@
  std::wstring dirWide = MultibyteToWide(dir);   wcsncpy(pwszIconFile, dirWide.c_str(), cchMax);   cchMax -= static_cast<int>(dirWide.size()) + 1; -/* - switch (myTortoiseClass) - { - case TORTOISE_OLE_ADDED: - wcsncat(pwszIconFile, L"\\icons\\status\\added.ico", cchMax); - break; - case TORTOISE_OLE_MODIFIED: - wcsncat(pwszIconFile, L"\\icons\\status\\changed.ico", cchMax); - break; - case TORTOISE_OLE_UNCHANGED: - wcsncat(pwszIconFile, L"\\icons\\status\\unchanged.ico", cchMax); - break; - default: - break; - } -*/ +   std::string path = WideToMultibyte(pwszIconFile);   TDEBUG_TRACE("GetOverlayInfo: icon path = " << path);