X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcontrol%2Frepeat.c;fp=src%2Flanguage%2Fcontrol%2Frepeat.c;h=7b5634c8b3cc19f1435a77815c4d50abf8193b6f;hb=41297e85eedafff3c28eb058a65089b16818bac1;hp=130dfd68800d5327a3f66d872f199a9ab76d1c9a;hpb=122ff2eeb1279acad0cac2ed3e667ba162a698b1;p=pspp diff --git a/src/language/control/repeat.c b/src/language/control/repeat.c index 130dfd6880..7b5634c8b3 100644 --- a/src/language/control/repeat.c +++ b/src/language/control/repeat.c @@ -527,7 +527,7 @@ do_repeat_filter (struct getl_interface *interface, struct string *line) /* Strip trailing whitespace, check for & remove terminal dot. */ ds_rtrim (line, ss_cstr (CC_SPACES)); - dot = ds_chomp (line, settings_get_endcmd ()); + dot = ds_chomp (line, '.'); input = ds_ss (line); in_apos = in_quote = false; while ((c = ss_first (input)) != EOF) @@ -550,7 +550,7 @@ do_repeat_filter (struct getl_interface *interface, struct string *line) } } if (dot) - ds_put_byte (&output, settings_get_endcmd ()); + ds_put_byte (&output, '.'); ds_swap (line, &output); ds_destroy (&output);