Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
applied: 015_xbmc-xrandr_reassing_symbol_clone-0.1.diff from Ticket x…
Browse files Browse the repository at this point in the history
…bmc#7392.  Renamed clone to cloned to prevent symbol collision.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24478 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
monkeyman_67156 committed Nov 10, 2009
1 parent 854d6a2 commit 7521a3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xbmc-xrandr.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ reflection_name (Rotation rotation)

#if HAS_RANDR_1_2
typedef enum _policy {
clone, extend
cloned, extend
} policy_t;

typedef enum _relation {
Expand Down Expand Up @@ -1576,7 +1576,7 @@ main (int argc, char **argv)
int ret = 0;
#if HAS_RANDR_1_2
output_t *output = NULL;
policy_t policy = clone;
policy_t policy = cloned;
Bool setit_1_2 = False;
Bool query_1_2 = False;
Bool modeit = False;
Expand Down Expand Up @@ -1837,7 +1837,7 @@ main (int argc, char **argv)
continue;
}
if (!strcmp ("--clone", argv[i])) {
policy = clone;
policy = cloned;
setit_1_2 = True;
continue;
}
Expand Down Expand Up @@ -2269,9 +2269,9 @@ main (int argc, char **argv)
printf ("\tClones: ");
for (j = 0; j < output_info->nclone; j++)
{
output_t *clone = find_output_by_xid (output_info->clones[j]);
output_t *cloned = find_output_by_xid (output_info->clones[j]);

if (clone) printf (" %s", clone->output.string);
if (cloned) printf (" %s", cloned->output.string);
}
printf ("\n");
if (output->crtc_info)
Expand Down

0 comments on commit 7521a3e

Please sign in to comment.