diff options
author | sijanec <anton@sijanec.eu> | 2021-01-19 20:30:55 +0100 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-01-19 20:30:55 +0100 |
commit | e6d42dc2f34f088f19e0189ca2fe67c570743a5f (patch) | |
tree | 357e3e901ec71f24f7d9bff66f1ed59432250961 | |
parent | added dynamic memory allocation for long variable keys and values (diff) | |
download | bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.tar bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.tar.gz bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.tar.bz2 bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.tar.lz bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.tar.xz bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.tar.zst bverbose-e6d42dc2f34f088f19e0189ca2fe67c570743a5f.zip |
-rwxr-xr-x | bin/bvr-compose-html | bin | 36712 -> 36712 bytes | |||
-rwxr-xr-x | bin/bvr-compose-single | bin | 36568 -> 36568 bytes | |||
-rw-r--r-- | src/bvrvar.c | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/bin/bvr-compose-html b/bin/bvr-compose-html Binary files differindex 091dc4a..fdfd428 100755 --- a/bin/bvr-compose-html +++ b/bin/bvr-compose-html diff --git a/bin/bvr-compose-single b/bin/bvr-compose-single Binary files differindex c68c60f..ad757b6 100755 --- a/bin/bvr-compose-single +++ b/bin/bvr-compose-single diff --git a/src/bvrvar.c b/src/bvrvar.c index c5ead88..6b80a60 100644 --- a/src/bvrvar.c +++ b/src/bvrvar.c @@ -65,7 +65,7 @@ int bvr_var_set(char * item, char * value) { int bvr_var_mv(char * item, char * newname) { BVR_VAR_FIRST_TIME(); - for(int i = 0; i < bvr_variables_count; i=i+2) { + for(int i = 0; i < bvr_variables_count; i++) { if(strcmp(bvr_variables[i].k, item) == 0) { if (bvr_variables[i].sk > strlen(newname)) { bvr_variables[i].sk = strlen(newname)+128; |