X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftitle.c;h=e8d95bf0e58a26c7cc02c578428f9bc4d01cb60f;hb=5ea5547d895d8b0930868378f3eeed39bb3ec731;hp=e403841d253bb2c5b0cd351b4af5132b4f653e91;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/title.c b/src/title.c index e403841d25..e8d95bf0e5 100644 --- a/src/title.c +++ b/src/title.c @@ -117,7 +117,7 @@ add_document_line (const char *line, int indent) memcpy (new_documents, old_documents, old_len); memset (new_documents + old_len, ' ', indent); - st_bare_pad_copy (new_documents + old_len + indent, line, 80 - indent); + buf_copy_str_rpad (new_documents + old_len + indent, 80 - indent, line); new_documents[old_len + 80] = '\0'; dict_set_documents (default_dict, new_documents);