[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Mar 16 00:36:17 CET 2005


CVS commit by staikos: 

force a crash (assert) when size=0 happens so we can trace it down.


  M +2 -0      kst2dplot.cpp   1.377


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.376:1.377
@@ -2136,4 +2136,5 @@ void Kst2DPlot::draw() {
 
   _buffer.buffer().resize(size());
+  assert(!_buffer.buffer().isNull());
   if (!_buffer.buffer().isNull()) {
     _buffer.buffer().fill(backgroundColor());




More information about the Kst mailing list