summaryrefslogtreecommitdiff
path: root/desktop/unx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-08-28 14:50:27 +0200
committerDavid Tardon <dtardon@redhat.com>2011-09-15 06:29:34 +0200
commitb2d9db45499891a2dc8c4a7010f7812fa9348290 (patch)
tree6531109771c183043815fcb394ede017e3c68c7e /desktop/unx
parent30bf29f428fe075722e21088ed8022c0f9b09615 (diff)
WaE: declaration of 'i' shadows a previous local
Diffstat (limited to 'desktop/unx')
-rwxr-xr-xdesktop/unx/source/splashx.c10
1 files changed, 5 insertions, 5 deletions
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;
}
}