@@ -43,7 +43,7 @@ in the source distribution for its full text.
4343#endif
4444
4545
46- Object * Action_pickFromVector (State * st , Panel * list , int x , bool followProcess ) {
46+ Object * Action_pickFromVector (State * st , Panel * list , int x , bool follow ) {
4747 MainPanel * mainPanel = st -> mainPanel ;
4848 Header * header = st -> header ;
4949 Machine * host = st -> host ;
@@ -56,8 +56,8 @@ Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess)
5656 Panel * panelFocus ;
5757 int ch ;
5858 bool unfollow = false;
59- int pid = followProcess ? MainPanel_selectedPid (mainPanel ) : -1 ;
60- if (followProcess && host -> pl -> following == -1 ) {
59+ int pid = follow ? MainPanel_selectedPid (mainPanel ) : -1 ;
60+ if (follow && host -> pl -> following == -1 ) {
6161 host -> pl -> following = pid ;
6262 unfollow = true;
6363 }
@@ -69,7 +69,7 @@ Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess)
6969 Panel_move ((Panel * )mainPanel , 0 , y );
7070 Panel_resize ((Panel * )mainPanel , COLS , LINES - y - 1 );
7171 if (panelFocus == list && ch == 13 ) {
72- if (followProcess ) {
72+ if (follow ) {
7373 const Process * selected = (const Process * )Panel_getSelected ((Panel * )mainPanel );
7474 if (selected && selected -> pid == pid )
7575 return Panel_getSelected (list );
0 commit comments