From 0e8ac3839da0cbea2ace93f31f6e58d5b574b478 Mon Sep 17 00:00:00 2001 From: akir Date: Wed, 6 Oct 2004 19:19:43 +0000 Subject: tiny forgotten thingy from the MAN :) --- src/FbTk/TextureRender.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FbTk/TextureRender.cc b/src/FbTk/TextureRender.cc index c278c2a..d34aafe 100644 --- a/src/FbTk/TextureRender.cc +++ b/src/FbTk/TextureRender.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextureRender.cc,v 1.12 2004/10/06 09:30:54 fluxgen Exp $ +// $Id: TextureRender.cc,v 1.13 2004/10/06 19:19:43 akir Exp $ #include "TextureRender.hh" @@ -99,6 +99,8 @@ Pixmap TextureRender::render(const FbTk::Texture &texture) { void TextureRender::allocateColorTables() { red = new(nothrow) unsigned char[width * height]; + + _FB_USES_NLS; if (red == 0) { char sbuf[128]; sprintf(sbuf, "%d", width*height); -- cgit v0.11.2