1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Adrian Buehlmann  committed f6b5e2f

cmenu: fix comments

  • Participants
  • Parent commits ad00912
  • Branches stable

Comments (0)

Files changed (1)

File win32/shellext/CShellExtCMenu.cpp

View file
  • Ignore whitespace
 
     if ((uFlags & CMF_EXTENDEDVERBS) == 0)
     {
-        /* shift key is not down */
+        // shift key is not down
         if (!isHgrepo)
         {
+            // we are not inside a repo
             std::string cval;
             if (GetRegistryConfig("HideMenuOutsideRepo", cval) != 0 && cval == "1")
             {
-                /* We are not inside a repo -> don't show thg menu entries */
-                return S_OK;
+                return S_OK; // don't show thg cmenu entries
             }
         }
     }