Resolves: fdo#83633 remove additional ++i

Regression from 63ea2d467b50452ae0cab18b4151107a747ae70d

Date:   Wed Jul 2 19:10:24 2014 +0200
replace while with for

Change-Id: I151e447446b9793cff6abe7633eca4d11059a390