X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcommand.c;h=cfe4ecf14bc6ae1c8451fed256bcac33a17dc506;hb=8318b3fffc62b96271e4bbbeb67fe706f797e993;hp=0a198bc94c4f6015c128477cd9641abc42136030;hpb=a353919df75c25331144602421353a856f4236d6;p=pspp diff --git a/src/language/command.c b/src/language/command.c index 0a198bc94c..cfe4ecf14b 100644 --- a/src/language/command.c +++ b/src/language/command.c @@ -38,7 +38,6 @@ #include "libpspp/str.h" #include "output/group-item.h" -#include "xalloc.h" #include "xmalloca.h" #include "gettext.h" @@ -199,7 +198,8 @@ do_parse_command (struct lexer *lexer, result = CMD_FAILURE; goto finish; } - group_open_item_submit (group_open_item_create (command->name)); + group_open_item_submit (group_open_item_create_nocopy ( + utf8_to_title (command->name))); opened = true; if (command->function == NULL)