mirror of https://github.com/FreeRDP/FreeRDP
[client,X11] fix shadowed variable
This commit is contained in:
parent
3e933203e2
commit
2fc791fe9b
|
@ -139,7 +139,6 @@ static BOOL xf_is_monitor_id_active(xfContext* xfc, UINT32 id)
|
|||
BOOL xf_detect_monitors(xfContext* xfc, UINT32* pMaxWidth, UINT32* pMaxHeight)
|
||||
{
|
||||
BOOL rc = FALSE;
|
||||
int nmonitors = 0;
|
||||
UINT32 monitor_index = 0;
|
||||
BOOL primaryMonitorFound = FALSE;
|
||||
VIRTUAL_SCREEN* vscreen = NULL;
|
||||
|
@ -384,6 +383,7 @@ BOOL xf_detect_monitors(xfContext* xfc, UINT32* pMaxWidth, UINT32* pMaxHeight)
|
|||
|
||||
/* Create array of all active monitors by taking into account monitors requested on the
|
||||
* command-line */
|
||||
int nmonitors = 0;
|
||||
{
|
||||
UINT32 nr = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue