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

cmenu: whitespace cleanups

Changeset 150a64569aa8

Parent a14088ed1f65

by Steve Borho

Changes to one file · Browse files at 150a64569aa8 Showing diff from parent a14088ed1f65 Diff from another changeset...

 
293
294
295
296
 
297
298
299
 
332
333
334
335
 
336
337
338
 
343
344
345
346
347
 
 
348
349
350
351
352
353
354
 
355
356
357
 
360
361
362
363
 
364
365
366
367
368
 
369
370
371
 
293
294
295
 
296
297
298
299
 
332
333
334
 
335
336
337
338
 
343
344
345
 
 
346
347
348
349
350
351
352
353
 
354
355
356
357
 
360
361
362
 
363
364
365
366
367
 
368
369
370
371
@@ -293,7 +293,7 @@
  cval = cval.substr(found+1);   }   - for( UINT i = 0 ; i < sz ; i++ ) + for( UINT i = 0; i < sz; i++ )   {   if( !key.compare(menuDescList[i].name) )   { @@ -332,7 +332,7 @@
  InsertMenu(hMenu, indexMenu++, MF_SEPARATOR | MF_BYPOSITION, 0, NULL);     menuDescListEntries *walk; - for( walk = entries ; *walk != EndOfList ; walk++ ) + for( walk = entries; *walk != EndOfList; walk++ )   {   UINT idx = (UINT) *walk;   if( promoted[idx] ) @@ -343,15 +343,15 @@
  if (hSubMenu)   {   UINT indexSubMenu = 0; - bool isSeparator = true ; - for( walk = entries ; *walk != EndOfList ; walk++ ) + bool isSeparator = true; + for( walk = entries; *walk != EndOfList; walk++ )   {   if( *walk == Separator)   {   if (!isSeparator)   {   InsertMenu(hSubMenu, indexSubMenu++, MF_SEPARATOR | MF_BYPOSITION, 0, NULL); - isSeparator = true ; + isSeparator = true;   }   }   else @@ -360,12 +360,12 @@
  if( !promoted[idx] )   {   InsertMenuItemByName(hSubMenu, menuDescList[idx].name, indexSubMenu++, idCmd++, idCmdFirst, ""); - isSeparator = false ; + isSeparator = false;   }   }   }   if (isSeparator && indexSubMenu>0) - RemoveMenu(hSubMenu, indexSubMenu-1, MF_BYPOSITION) ; + RemoveMenu(hSubMenu, indexSubMenu-1, MF_BYPOSITION);   }     TDEBUG_TRACE(" CShellExt::QueryContextMenu: adding main THG menu");