| 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 2cb41f62b7524ab8c2b38be566e3a61e66d8a25e..d9e401897b3bfb9cf5d07c2bc18db29095c10f88 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);
|
| }
|
|
|