> Just to ask, are you having the latest svn code? w_to_lastspace variable does
> not exists in current one.

yeah, I am using version 5567 atm, because I`m getting linker errors with later 
versions and I hadn`t the time to look after this so I`m still using 5567 ...
But I couldn`t find any fixes in the commit log ...
I know that the name of this variable today looks like this: width_to_lastspace

My hack for now is this:

  .
  .
  .
  int word_count = 0;

  char x = ('a');                       // Veränderung Top_se

  if (type() == SECRET) {
    while (o<e && p < text_+size_) {*o++ = '*'; p++;}
  } else while (o<e) {
          if (*p >= 0)                  // hier weiter mit Veränderung
                  x = *p;
    if (wordwrap &&
                (&x >= text_+size_ ||
                isspace(x))) {
      w_to_lastspace += (int)getwidth(lastspace_out, o-lastspace_out);
      if (p > lastspace+1) {
  .
  .
  .

till now the problem didn`t appear again and the wordwrap-widget is working 
ALMOST perfect ... :D

But at the weekend I will look after these linker errors and than I will test 
the latest version, promised!

thank you!
_______________________________________________
fltk mailing list
[EMAIL PROTECTED]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to