projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519f168
)
FACTOR: Use %s for literal string.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 27 Apr 2011 04:53:26 +0000
(21:53 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 27 Apr 2011 04:53:26 +0000
(21:53 -0700)
tab_title() treats its parameter as a printf format string, so it's
necessary to use %s.
Found on Mac OS X with help from Jeremy Lavergne.
src/language/stats/factor.c
patch
|
blob
|
history
diff --git
a/src/language/stats/factor.c
b/src/language/stats/factor.c
index d1a35a87e558ccc90a63915b7d6887daeb811985..a9c948e6369671ec6aa40f9a8103f91dbebb5ea4 100644
(file)
--- a/
src/language/stats/factor.c
+++ b/
src/language/stats/factor.c
@@
-1297,7
+1297,7
@@
show_factor_matrix (const struct cmd_factor *factor, struct idata *idata, const
tab_title (t, _("Factor Matrix"));
*/
- tab_title (t, title);
+ tab_title (t,
"%s",
title);
tab_headers (t, heading_columns, 0, heading_rows, 0);