X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcommand.c;h=bdefcb22f266f759a711675774cac34851d11520;hb=92fb12eb06716d14c05b781f5d9dcde956d77c30;hp=a471f38e427e0085ee7da51ea764164d157668f2;hpb=e238e7fc030ebb64a7f70176c2218783b5b205e3;p=pspp diff --git a/src/command.c b/src/command.c index a471f38e42..bdefcb22f2 100644 --- a/src/command.c +++ b/src/command.c @@ -854,7 +854,7 @@ cmd_new_file (void) int cmd_clear_transformations (void) { - if (getl_reading_script) + if (getl_reading_script ()) { msg (SW, _("This command is not valid in a syntax file.")); return CMD_FAILURE;