`` he couldna tell how long he 'd walked , only that his legs were trembling wi ' weariness , when at last he caught a glimpse of light through the mist , and there was his own cottage , wi ' the candle in the window .