From: Enlightenment S. <no-...@en...> - 2010-08-21 01:52:26
|
Log: j++!!!! Author: raster Date: 2010-08-20 18:52:20 -0700 (Fri, 20 Aug 2010) New Revision: 51474 Modified: trunk/e/src/bin/e_randr.c Modified: trunk/e/src/bin/e_randr.c =================================================================== --- trunk/e/src/bin/e_randr.c 2010-08-21 01:48:19 UTC (rev 51473) +++ trunk/e/src/bin/e_randr.c 2010-08-21 01:52:20 UTC (rev 51474) @@ -306,7 +306,7 @@ Ecore_X_Randr_Screen_Size_MM *sizes = NULL; Ecore_X_Randr_Refresh_Rate *rates = NULL; Eina_List *rates_list; - int i, nsizes, nrates; + int i, j, nsizes, nrates; if (!(sizes = ecore_x_randr_screen_primary_output_sizes_get(e_randr_screen_info->root, &nsizes))) return EINA_FALSE; @@ -321,8 +321,8 @@ rates_list = NULL; if (!(rates = ecore_x_randr_screen_primary_output_refresh_rates_get(e_randr_screen_info->root, i, &nrates))) return EINA_FALSE; - for (i = 0; i < nrates; i++) - if (!(rates_list = eina_list_append(rates_list, &rates[i]))) + for (j = 0; j < nrates; j++) + if (!(rates_list = eina_list_append(rates_list, &rates[j]))) goto _e_randr_screen_info_11_fill_fail_rates_list; if (!(screen_info_11->rates = eina_list_append(screen_info_11->rates, rates_list))) goto _e_randr_screen_info_11_fill_fail_rates; |