mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CFrameBuffer::paintBoxRel: check boxBuf if not NULL
Origin commit data
------------------
Branch: ni/coolstream
Commit: 644dc460a2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-11-06 (Thu, 06 Nov 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -730,6 +730,9 @@ fb_pixel_t* CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, co
|
||||
#define MASK 0xFFFFFFFF
|
||||
|
||||
fb_pixel_t* boxBuf = paintBoxRel2Buf(dx, dy, MASK, NULL, radius, type);
|
||||
if (!boxBuf)
|
||||
return NULL;
|
||||
|
||||
fb_pixel_t *bp = boxBuf;
|
||||
fb_pixel_t *gra = gradientData->gradientBuf;
|
||||
gradientData->boxBuf = boxBuf;
|
||||
|
Reference in New Issue
Block a user