]> git.itanic.dy.fi Git - log-plotter/commit - config.c
config.c: Handle multiple variables correcly
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 16 Jan 2014 20:11:47 +0000 (22:11 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 16 Jan 2014 20:12:03 +0000 (22:12 +0200)
commit0a59c3e87ef985e0af68e552500de1c3a022b53b
treebf84ca4e8c6d16c87079e9ef078ff55df3fe73b0
parente7ce6c43fe34b6f5fd6b3abfeb3e121c6d9bbc0c
config.c: Handle multiple variables correcly

If we happen to have multiple variables in the string we are handling,
we must continue handling the string always at the end of the previous
replaced variable. Otherwise we may end up skipping the beginning of
the next variable.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
config.c