diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-07-30 10:13:01 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-07-30 10:13:01 -0700 |
commit | ef2a44cdf53b0c1542b246be55fb4037493da549 (patch) | |
tree | 8fbcc4ff8fd3802cd27bef2617d69cde15a672d3 | |
parent | d7ac9f8fb223ae2ec3de4e60705f46258501c35c (diff) |
173.14.12173.14.12
-rw-r--r-- | XF86Config-parser/Merge.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/XF86Config-parser/Merge.c b/XF86Config-parser/Merge.c index aaf66bc..7d8ab98 100644 --- a/XF86Config-parser/Merge.c +++ b/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; |