| Index: core/src/fxge/dib/fx_dib_main.cpp
|
| diff --git a/core/src/fxge/dib/fx_dib_main.cpp b/core/src/fxge/dib/fx_dib_main.cpp
|
| index 59c0bd674924a799e679329cc7be95f5a4c6466f..a54c9abed045d19c0492d3789e2ee1443270d84b 100644
|
| --- a/core/src/fxge/dib/fx_dib_main.cpp
|
| +++ b/core/src/fxge/dib/fx_dib_main.cpp
|
| @@ -84,7 +84,7 @@ FX_BOOL CFX_DIBitmap::Create(int width, int height, FXDIB_Format format, FX_LPBY
|
| int size = pitch * height + 4;
|
| int oomlimit = _MAX_OOM_LIMIT_;
|
| if (oomlimit >= 0 && size >= oomlimit) {
|
| - m_pBuffer = FX_AllocNL(FX_BYTE, size);
|
| + m_pBuffer = FX_TryAlloc(FX_BYTE, size);
|
| } else {
|
| m_pBuffer = FX_Alloc(FX_BYTE, size);
|
| }
|
|
|