From b2d9db45499891a2dc8c4a7010f7812fa9348290 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 28 Aug 2011 14:50:27 +0200 Subject: WaE: declaration of 'i' shadows a previous local --- desktop/unx/source/splashx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'desktop/unx/source/splashx.c') diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 76ef3eb1f138..c1a1ba646bbf 100755 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -520,13 +520,13 @@ int splash_create_window( int argc, char** argv ) XineramaScreenInfo* p_screens = XineramaQueryScreens( display, &n_xinerama_screens ); if( p_screens ) { - int i = 0; - for( ; i < n_xinerama_screens; i++ ) + int j = 0; + for( ; j < n_xinerama_screens; j++ ) { - if ( p_screens[i].screen_number == screen ) + if ( p_screens[j].screen_number == screen ) { - display_width = p_screens[i].width; - display_height = p_screens[i].height; + display_width = p_screens[j].width; + display_height = p_screens[j].height; break; } } -- cgit