@@ -935,7 +935,7 @@ void MCInterfaceEvalFoundLoc(MCExecContext& ctxt, MCStringRef& r_string)
935935
936936void MCInterfaceEvalSelectedChunk (MCExecContext& ctxt, MCStringRef& r_string)
937937{
938- if (MCactivefield == NULL )
938+ if (! MCactivefield)
939939 {
940940 r_string = MCValueRetain (kMCEmptyString );
941941 return ;
@@ -984,7 +984,7 @@ void MCInterfaceEvalSelectedChunkOf(MCExecContext& ctxt, MCObjectPtr p_target, M
984984
985985void MCInterfaceEvalSelectedLine (MCExecContext& ctxt, MCStringRef& r_string)
986986{
987- if (MCactivefield == NULL )
987+ if (! MCactivefield)
988988 {
989989 r_string = MCValueRetain (kMCEmptyString );
990990 return ;
@@ -1026,7 +1026,7 @@ void MCInterfaceEvalSelectedLineOf(MCExecContext& ctxt, MCObjectPtr p_target, MC
10261026
10271027void MCInterfaceEvalSelectedText (MCExecContext& ctxt, MCStringRef& r_string)
10281028{
1029- if (MCactivefield == NULL )
1029+ if (! MCactivefield)
10301030 {
10311031 r_string = MCValueRetain (kMCEmptyString );
10321032 return ;
@@ -1068,7 +1068,7 @@ void MCInterfaceEvalSelectedTextOf(MCExecContext& ctxt, MCObjectPtr p_target, MC
10681068
10691069void MCInterfaceEvalSelectedLoc (MCExecContext& ctxt, MCStringRef& r_string)
10701070{
1071- if (MCactivefield == NULL )
1071+ if (! MCactivefield)
10721072 {
10731073 r_string = MCValueRetain (kMCEmptyString );
10741074 return ;
@@ -1109,7 +1109,7 @@ void MCInterfaceEvalSelectedLocOf(MCExecContext& ctxt, MCObjectPtr p_target, MCS
11091109
11101110void MCInterfaceEvalSelectedField (MCExecContext& ctxt, MCStringRef& r_string)
11111111{
1112- if (MCactivefield == nil )
1112+ if (! MCactivefield)
11131113 {
11141114 r_string = MCValueRetain (kMCEmptyString );
11151115 return ;
@@ -2282,7 +2282,7 @@ void MCInterfaceExecCutObjectsToContainer(MCExecContext& ctxt, MCObjectPtr *p_ta
22822282
22832283void MCInterfaceExecDelete (MCExecContext& ctxt)
22842284{
2285- if (MCactivefield != NULL )
2285+ if (MCactivefield)
22862286 MCactivefield->deleteselection (False);
22872287 else if (MCactiveimage != NULL )
22882288 MCactiveimage->delimage ();
@@ -2429,10 +2429,10 @@ void MCInterfaceExecUnhiliteChunkOfButton(MCExecContext& ctxt, MCObjectChunkPtr
24292429void MCInterfaceExecSelectEmpty (MCExecContext& ctxt)
24302430{
24312431 MCselected->clear (True);
2432- if (MCactivefield != NULL )
2432+ if (MCactivefield)
24332433 {
24342434 MCactivefield->unselect (False, True);
2435- if (MCactivefield != NULL )
2435+ if (MCactivefield)
24362436 MCactivefield->getcard ()->kunfocus ();
24372437 }
24382438}
0 commit comments