diff options
author | Lars Knoll <lars@trolltech.com> | 2006-03-06 21:00:09 +0000 |
---|---|---|
committer | Lars Knoll <lars@trolltech.com> | 2006-03-06 21:00:09 +0000 |
commit | 0693083335185ce05ee64546151f3fc43ce98575 (patch) | |
tree | 6e8199f8d008d020e6de5a8c007bc36f3c131497 /render | |
parent | 448997ebcd2bab02be1059b07b91b63b0d05d268 (diff) |
render/picture.c Correctly initialize devPrivates variable in source only
pictures to 0
miext/cw/cw.h Don't try to access devPrivates of source only pictures
Diffstat (limited to 'render')
-rw-r--r-- | render/picture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/render/picture.c b/render/picture.c index 629f20bcc..299bded3f 100644 --- a/render/picture.c +++ b/render/picture.c @@ -979,6 +979,7 @@ static PicturePtr createSourcePicture(void) pPicture->pDrawable = 0; pPicture->pFormat = 0; pPicture->pNext = 0; + pPicture->devPrivates = 0; SetPictureToDefaults(pPicture); return pPicture; |