From 2fb2e27e28569371bd0d12aa74504d53bb04edc0 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Fri, 18 Mar 2005 14:28:02 +0000 Subject: update against 03-Feb-2005 release --- src/mesa/shader/slang/MachineIndependent/InfoSink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/shader/slang/MachineIndependent/InfoSink.cpp') diff --git a/src/mesa/shader/slang/MachineIndependent/InfoSink.cpp b/src/mesa/shader/slang/MachineIndependent/InfoSink.cpp index 6b1b59149f9..9a1aaa26f9e 100755 --- a/src/mesa/shader/slang/MachineIndependent/InfoSink.cpp +++ b/src/mesa/shader/slang/MachineIndependent/InfoSink.cpp @@ -1,5 +1,5 @@ // -//Copyright (C) 2002-2004 3Dlabs Inc. Ltd. +//Copyright (C) 2002-2005 3Dlabs Inc. Ltd. //All rights reserved. // //Redistribution and use in source and binary forms, with or without @@ -57,7 +57,7 @@ void TInfoSinkBase::append(const char *s) void TInfoSinkBase::append(int count, char c) { if (outputStream & EString) { - checkMem(1); + checkMem(count); sink.append(count, c); } -- cgit v1.2.3