Truncate error source from start, not end, if it's too long to fit
authorPetri Lehtinen <petri@digip.org>
Tue, 22 Feb 2011 11:24:15 +0000 (13:24 +0200)
committerPetri Lehtinen <petri@digip.org>
Tue, 22 Feb 2011 11:34:37 +0000 (13:34 +0200)
commit50dc64a7af3664ca55ac74b393459a6d54e6958f
tree4d81d9534f94034bbc35590f8e2a1f6c568e5168
parent5df7b7939794abc9e8a826919d84d27385a6679d
Truncate error source from start, not end, if it's too long to fit

It's more helpful to see "...bar/baz.json" instead of "/long/path/to".
src/error.c