| Index: core/src/fpdfdoc/doc_annot.cpp
|
| diff --git a/core/src/fpdfdoc/doc_annot.cpp b/core/src/fpdfdoc/doc_annot.cpp
|
| index 7013602debb6d02f46298cc4e176cba2d0216c06..9bef7ccda29194620056b5fc088fcbb898a76392 100644
|
| --- a/core/src/fpdfdoc/doc_annot.cpp
|
| +++ b/core/src/fpdfdoc/doc_annot.cpp
|
| @@ -308,7 +308,7 @@ void CPDF_Annot::DrawBorder(CFX_RenderDevice* pDevice,
|
| }
|
| CPDF_Array* pColor = m_pAnnotDict->GetArray("C");
|
| FX_DWORD argb = 0xff000000;
|
| - if (pColor != NULL) {
|
| + if (pColor) {
|
| int R = (int32_t)(pColor->GetNumber(0) * 255);
|
| int G = (int32_t)(pColor->GetNumber(1) * 255);
|
| int B = (int32_t)(pColor->GetNumber(2) * 255);
|
|
|