all repos — fluxbox @ 0e8ac3839da0cbea2ace93f31f6e58d5b574b478

custom fork of the fluxbox windowmanager

tiny forgotten thingy from the MAN :)
akir akir
commit

0e8ac3839da0cbea2ace93f31f6e58d5b574b478

parent

2c40517df33632f2d95f5b5bf8c2603cae5ee5f1

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/FbTk/TextureRender.ccsrc/FbTk/TextureRender.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 @@ }

void TextureRender::allocateColorTables() { red = new(nothrow) unsigned char[width * height]; + + _FB_USES_NLS; if (red == 0) { char sbuf[128]; sprintf(sbuf, "%d", width*height);