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:
50f245a
)
i18n: Always allocate from pool in recode_substring_pool().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 5 Feb 2011 05:33:47 +0000
(21:33 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 5 Feb 2011 21:18:11 +0000
(13:18 -0800)
src/libpspp/i18n.c
patch
|
blob
|
history
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index 5d03d19a861b1144b496e90c9c24d5a5a61de2cb..59665bee63b6a44ba6910eea288d3ca8b1ae7b12 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-208,7
+208,7
@@
recode_substring_pool (const char *to, const char *from,
if ( (iconv_t) -1 == conv )
{
struct substring out;
- ss_alloc_substring
(&out, text
);
+ ss_alloc_substring
_pool (&out, text, pool
);
return out;
}