git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Big pile of changes to support a 'conf UI' in the select menu; can now hide/show...
[pandora-libraries.git]
/
lib
/
pnd_conf.c
diff --git
a/lib/pnd_conf.c
b/lib/pnd_conf.c
index
6b8f644
..
88d0c46
100644
(file)
--- a/
lib/pnd_conf.c
+++ b/
lib/pnd_conf.c
@@
-300,7
+300,7
@@
char *pnd_conf_set_char ( pnd_conf_handle c, char *key, char *v ) {
}
// add the new node
- char *nv = pnd_box_allocinsert ( c, key, strlen ( v ) );
+ char *nv = pnd_box_allocinsert ( c, key, strlen ( v )
+ 1
);
if ( nv ) {
strcpy ( nv, v );