Skip to content

Commit ad4a0cb

Browse files
committed
Code cleanups re tooltips
1 parent 1df3751 commit ad4a0cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scriptingoptions.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ long iResult = SetBaseOptionItem (iItem,
556556

557557
if (OptionsTable [iItem].iFlags & OPT_FIX_TOOLTIP_VISIBLE)
558558
{
559-
for(pos=GetFirstViewPosition();pos!=NULL;)
559+
for(pos = GetFirstViewPosition(); pos != NULL;)
560560
{
561561
CView* pView = GetNextView(pos);
562562
if (pView->IsKindOf(RUNTIME_CLASS(CMUSHView)))
@@ -570,7 +570,7 @@ long iResult = SetBaseOptionItem (iItem,
570570

571571
if (OptionsTable [iItem].iFlags & OPT_FIX_TOOLTIP_START)
572572
{
573-
for(pos=GetFirstViewPosition();pos!=NULL;)
573+
for(pos = GetFirstViewPosition (); pos != NULL;)
574574
{
575575
CView* pView = GetNextView(pos);
576576
if (pView->IsKindOf(RUNTIME_CLASS(CMUSHView)))
@@ -580,7 +580,7 @@ long iResult = SetBaseOptionItem (iItem,
580580
pmyView->m_ToolTip.SendMessage(TTM_SETDELAYTIME, TTDT_INITIAL, Value - 1); // zero will be default (-1)
581581
} // end if
582582
} // end for
583-
} // end of OPT_FIX_TOOLTIP_VISIBLE
583+
} // end of OPT_FIX_TOOLTIP_START
584584

585585
if (OptionsTable [iItem].iFlags & OPT_USE_MXP)
586586
{

0 commit comments

Comments
 (0)