comparison gui/interface.c @ 37073:3ec195585bfd

Fix bug in r37165. The incrementation has got lost there.
author ib
date Thu, 24 Apr 2014 12:58:40 +0000
parents 9ed2c7f5c941
children 1bcac20d3393
comparison
equal deleted inserted replaced
37072:9ed2c7f5c941 37073:3ec195585bfd
279 { 279 {
280 if (vf_settings) { 280 if (vf_settings) {
281 int i = 0; 281 int i = 0;
282 282
283 while (vf_settings[i].name) { 283 while (vf_settings[i].name) {
284 if (strcmp(vf_settings[i].name, vf) == 0) { 284 if (strcmp(vf_settings[i++].name, vf) == 0) {
285 i = -1; 285 i = -1;
286 break; 286 break;
287 } 287 }
288 } 288 }
289 289