> On 12/21/11 13:54, mattes wrote:
> > for ( int i=0; i< sizeof(data_colpercent); i++ ) {
> >data_widths[i] = w * data_colpercent[i] /100;
> > }
>
> You're overrunning memory here.
>
> sizeof() returns the numb
1 in fl_wait(double) ()
#6 0x08052680 in Fl::wait(double) ()
#7 0x080527ee in Fl::run() ()
#8 0x0804f281 in main (argc=1, argv=0xbf849f24) at
/home/mattes/src/amb/fltest/main.cpp:977
Here the code that makes it dump:
#include
#include
#include
static int data_colpercent[] = {4, 7, 10, 17, 6