X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftitle.c;h=e8d95bf0e58a26c7cc02c578428f9bc4d01cb60f;hb=1f53043596e4f60c302974a83edbe2088fde4470;hp=e0191acc8bdf3880421e76c34304c0ee2f93856f;hpb=92bfefccd465052e492f669ce561aa25b0110283;p=pspp-builds.git diff --git a/src/title.c b/src/title.c index e0191acc..e8d95bf0 100644 --- a/src/title.c +++ b/src/title.c @@ -14,14 +14,15 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include #include #include "alloc.h" #include "command.h" +#include "dictionary.h" #include "error.h" #include "lexer.h" #include "main.h" @@ -116,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);