Skip to content

Commit

Permalink
sortlist fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lsalzman committed Nov 21, 2012
1 parent f24675a commit 5b75591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/command.cpp
Expand Up @@ -2610,7 +2610,7 @@ void sortlist(char *list, ident *x, ident *y, uint *body)

vector<sortitem> items;
int macrolen = strlen(list), total = 0;
char *macros = newstring(macrolen);
char *macros = newstring(list, macrolen);
const char *curlist = list, *start, *end, *quotestart, *quoteend;
while(parselist(curlist, start, end, quotestart, quoteend))
{
Expand Down

0 comments on commit 5b75591

Please sign in to comment.