Wenn ich Platz hätte, würde ich mir einen größeren Fernseher kaufen.

One of my difficulties with German vocabulary versus English is the use of “wenn” for both “if” and “when,” where English uses two word, each with a slightly different emphasis. We say “if and when…(something)” indicating two relevant conditions.