diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-03-02 09:28:13 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-03-12 20:36:22 +0100 |
commit | 481cb5524f8e165bbe3c17bb04bdc7330dd7a923 (patch) | |
tree | 34c4c09613e40c82a9bab4b15685cad949d7ce1c /scripts%252525253fid%252525253dafa57d77c03e44bee59fbf41754a53833c902ce3%2525253fid%2525253dafa57d77c03e44bee59fbf41754a53833c902ce3%25253fid%25253da5eea86a07c9d0bd66d3a993d9e07c88abf34716%253fid%253d7cb0fc4cd9c4716fda91b6df8582ad2e994e5cb5%3fid%3dc9aff6d2131d6167a39813278130c5441e3a60d3?id=481cb5524f8e165bbe3c17bb04bdc7330dd7a923 | |
parent | 0f4b45e62487e32e789571912fd2190168f753bc (diff) |
Do not strncpy() strings returned by gettext()
Translated strings returned by gettext() are statically allocated.
There's no need to copy them to a buffer, we can use the pointers
returned by gettext() instead.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'scripts%252525253fid%252525253dafa57d77c03e44bee59fbf41754a53833c902ce3%2525253fid%2525253dafa57d77c03e44bee59fbf41754a53833c902ce3%25253fid%25253da5eea86a07c9d0bd66d3a993d9e07c88abf34716%253fid%253d7cb0fc4cd9c4716fda91b6df8582ad2e994e5cb5%3fid%3dc9aff6d2131d6167a39813278130c5441e3a60d3?id=481cb5524f8e165bbe3c17bb04bdc7330dd7a923')
0 files changed, 0 insertions, 0 deletions