Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit c8690a5

Browse files
[[ Bug 14885 ]] Reinstate 'sort card' to fallback on the defaultstack, is none is specified
1 parent 2192f7e commit c8690a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

engine/src/cmds.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,11 @@ void MCSort::exec_ctxt(MCExecContext& ctxt)
23732373
}
23742374
if (t_object . object != nil && t_object . object->gettype() > CT_GROUP && chunktype <= CT_GROUP)
23752375
chunktype = CT_LINE;
2376-
}
2376+
}
2377+
// SN-2015-04-01: [[ Bug 14885 ]] Make sure that the default stack is used
2378+
// if none is specified.
2379+
else
2380+
t_object . object = MCdefaultstackptr;
23772381

23782382
if (chunktype == CT_CARD || chunktype == CT_MARKED)
23792383
{

0 commit comments

Comments
 (0)