Commit 1701a4a4 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Xext/panoramiX.c: rename shadowing variables

parent ebee6af0
...@@ -601,8 +601,8 @@ extern Bool CreateConnectionBlock(void); ...@@ -601,8 +601,8 @@ extern Bool CreateConnectionBlock(void);
Bool PanoramiXCreateConnectionBlock(void) Bool PanoramiXCreateConnectionBlock(void)
{ {
int i, j, length; int i, j, length;
Bool disableBackingStore = FALSE; Bool disable_backing_store = FALSE;
Bool disableSaveUnders = FALSE; Bool disable_save_unders = FALSE;
int old_width, old_height; int old_width, old_height;
float width_mult, height_mult; float width_mult, height_mult;
xWindowRoot *root; xWindowRoot *root;
...@@ -627,17 +627,17 @@ Bool PanoramiXCreateConnectionBlock(void) ...@@ -627,17 +627,17 @@ Bool PanoramiXCreateConnectionBlock(void)
return FALSE; return FALSE;
} }
if(pScreen->backingStoreSupport != screenInfo.screens[0]->backingStoreSupport) if(pScreen->backingStoreSupport != screenInfo.screens[0]->backingStoreSupport)
disableBackingStore = TRUE; disable_backing_store = TRUE;
if(pScreen->saveUnderSupport != screenInfo.screens[0]->saveUnderSupport) if(pScreen->saveUnderSupport != screenInfo.screens[0]->saveUnderSupport)
disableSaveUnders = TRUE; disable_save_unders = TRUE;
} }
if(disableBackingStore || disableSaveUnders) { if(disable_backing_store || disable_save_unders) {
for(i = 0; i < screenInfo.numScreens; i++) { for(i = 0; i < screenInfo.numScreens; i++) {
pScreen = screenInfo.screens[i]; pScreen = screenInfo.screens[i];
if(disableBackingStore) if(disable_backing_store)
pScreen->backingStoreSupport = NotUseful; pScreen->backingStoreSupport = NotUseful;
if(disableSaveUnders) if(disable_save_unders)
pScreen->saveUnderSupport = NotUseful; pScreen->saveUnderSupport = NotUseful;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment