Suppose that f is uniformly continuous, $|f(x)|\leq1$ and g is Riemann integrable. I need to show that $h_n(x) = \int_{-1}^{f(x+1/n)}g(t)dt$ converges uniformly on the reals. I've tried the following but I'm not sure about how to continue
$|h_n(x) - h(x)| = |\int_{f(x)}^{f(x+1/n)}g(t)dt|\leq M|f(x+1/n)-f(x)|$
Is it true? and if so how shall I proceed?
Assuming that $M$ is an upper bound of $|g|$, what I would do now would be to say that, given $\varepsilon>0$, there is some $\delta>0$ such that $|x-y|<\delta\implies\bigl|f(x)-f(y)\bigr|<\frac\varepsilon M$. And so, if $N\in\Bbb N$ is such that $\frac1N<\delta$, then, for each $n\geqslant N$,$$M\left|f\left(x+\frac1n\right)-f(x)\right|<M\frac\varepsilon M=\varepsilon.$$