# HG changeset patch # User Aki Tuomi # Date 1479804883 -7200 # Node ID 949ab17b9294abf56c6d7fa8253c9993201df641 # Parent 4108cd284c714a632b4155918eb85dd2cb8a5a0b lib: Fix whitespace in var-expand.c diff -r 4108cd284c71 -r 949ab17b9294 src/lib/var-expand.c --- a/src/lib/var-expand.c Sat Feb 25 23:34:03 2017 +0200 +++ b/src/lib/var-expand.c Tue Nov 22 10:54:43 2016 +0200 @@ -91,7 +91,7 @@ str_printfa(hash, "%x", value); while ((int)str_len(hash) < ctx->offset) str_insert(hash, 0, "0"); - ctx->offset = 0; + ctx->offset = 0; return str_c(hash); } @@ -118,7 +118,7 @@ str_printfa(hash, "%x", (unsigned int)value); while ((int)str_len(hash) < ctx->offset) str_insert(hash, 0, "0"); - ctx->offset = 0; + ctx->offset = 0; return str_c(hash); } @@ -178,7 +178,7 @@ static const char * var_expand_short(const struct var_expand_table *table, char key) { - const struct var_expand_table *t; + const struct var_expand_table *t; if (table != NULL) { for (t = table; !TABLE_LAST(t); t++) { @@ -370,7 +370,7 @@ const struct var_expand_func_table *func_table, const void *key_start, size_t key_len, void *context) { - const struct var_expand_table *t; + const struct var_expand_table *t; const char *error, *key, *value = NULL; if (table != NULL) { @@ -428,9 +428,9 @@ const struct var_expand_func_table *func_table, void *context) { - const struct var_expand_modifier *m; + const struct var_expand_modifier *m; const char *var; - struct var_expand_context ctx; + struct var_expand_context ctx; const char *(*modifier[MAX_MODIFIER_COUNT]) (const char *, struct var_expand_context *); const char *end; @@ -487,7 +487,7 @@ ctx.width = sign * ctx.width; } - modifier_count = 0; + modifier_count = 0; while (modifier_count < MAX_MODIFIER_COUNT) { modifier[modifier_count] = NULL; for (m = modifiers; m->key != '\0'; m++) {