diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-07-30 10:09:04 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-07-30 10:09:04 -0700 |
commit | 733e2e324f8e48ac5bc2f77e0fe9305ca29312de (patch) | |
tree | aadb2040405e11a77183aa49973593e598ee4b99 | |
parent | b09f48e801893b864af2b866829bc9ee35555418 (diff) |
173.14.12173.14.12
-rw-r--r-- | src/XF86Config-parser/Merge.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/XF86Config-parser/Merge.c b/src/XF86Config-parser/Merge.c index aaf66bc..7d8ab98 100644 --- a/src/XF86Config-parser/Merge.c +++ b/src/XF86Config-parser/Merge.c @@ -479,6 +479,7 @@ static int xconfigMergeDisplays(XConfigScreenPtr dstScreen, /* Free all the displays in the destination screen */ xconfigFreeDisplayList(dstScreen->displays); + dstScreen->displays = NULL; /* Copy all te displays */ @@ -530,6 +531,10 @@ static int xconfigMergeDisplays(XConfigScreenPtr dstScreen, srcMode = srcMode->next; } + + dstScreen->displays = + (XConfigDisplayPtr)xconfigAddListItem((GenericListPtr)(dstScreen->displays), + (GenericListPtr)dstDisplay); } return 1; |