summaryrefslogtreecommitdiffstats
path: root/src/bvrvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bvrvar.c')
-rw-r--r--src/bvrvar.c2
1 files changed, 1 insertions, 1 deletions
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;