projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed dependent/independent variable separation
[pspp]
/
src
/
title.c
diff --git
a/src/title.c
b/src/title.c
index 68a38e47f084f3e9d96e27bb8f0b0a8f943d0153..d4a95c18d478e3eb35fd6d602df1b9301aca8f9f 100644
(file)
--- a/
src/title.c
+++ b/
src/title.c
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
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., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <ctype.h>
#include <config.h>
#include <ctype.h>
@@
-31,6
+31,9
@@
#include "version.h"
#include "vfm.h"
#include "version.h"
#include "vfm.h"
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
#include "debug-print.h"
static int get_title (const char *cmd, char **title);
#include "debug-print.h"
static int get_title (const char *cmd, char **title);
@@
-117,7
+120,7
@@
add_document_line (const char *line, int indent)
memcpy (new_documents, old_documents, old_len);
memset (new_documents + old_len, ' ', 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);
new_documents[old_len + 80] = '\0';
dict_set_documents (default_dict, new_documents);