diff options
author | portix <none@none> | 2012-03-29 11:57:55 +0200 |
---|---|---|
committer | portix <none@none> | 2012-03-29 11:57:55 +0200 |
commit | f30a5235b76f2a4ae9a93dcd39c1f65d7ff4745b (patch) | |
tree | f97462a8a12109893a0fa21efff410a2053a1cc0 /src/util.c | |
parent | 778e8afddec62b2e83d89c5eff2b1d1428e95166 (diff) | |
download | dwb-f30a5235b76f2a4ae9a93dcd39c1f65d7ff4745b.zip |
Reintroducing 'local_set', new command 'toggle_local_setting'
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -130,6 +130,17 @@ util_arg_new() { ret->e = NULL; return ret; } +Arg * +util_arg_copy(Arg *dest, Arg *src) { + dest->n = src->n; + dest->i = src->i; + dest->d = src->d; + dest->p = src->p; + dest->arg = src->arg; + dest->b = src->b; + dest->e = src->e; + return dest; +} /* util_char_to_arg(char *value, DwbType type) return: Arg*{{{*/ Arg * util_char_to_arg(char *value, DwbType type) { |