I just found out that I already knew your name and work
because of this program long before I was on the FLTK page
and even knew what FLTK is.
This hex editor is still one of my favorite hex editors,
because of its cross platformness and compactness. And this
time, I looked inside it to see what was wrong and the
reason for this bug entry.
There can be a division by zero in line 1157:
bytesPerRow_ = (w()-wfixed)/wflex;
which in my case works better this way:
bytesPerRow_ = max(1, (w()-wfixed)/wflex);
Regards,
Alessandro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1082798
Matthias,
I just found out that I already knew your name and work
because of this program long before I was on the FLTK page
and even knew what FLTK is.
This hex editor is still one of my favorite hex editors,
because of its cross platformness and compactness. And this
time, I looked inside it to see what was wrong and the
reason for this bug entry.
There can be a division by zero in line 1157:
bytesPerRow_ = (w()-wfixed)/wflex;
which in my case works better this way:
bytesPerRow_ = max(1, (w()-wfixed)/wflex);
Regards,
Alessandro