Wed Feb 16 09:06:15 PST 2000
(KainX) Apparently somebody didn't think about what would happen if the textbox were empty. :-) SVN revision: 2080
This commit is contained in:
parent
a7072c6ce3
commit
7f125c8515
|
@ -1963,3 +1963,11 @@ Wed Feb 16 11:18:58 EST 2000
|
|||
(Christian)
|
||||
|
||||
Added a timer to E-Mountbox that keeps the display up to date.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Wed Feb 16 09:06:15 PST 2000
|
||||
(KainX)
|
||||
|
||||
Apparently somebody didn't think about what would happen if the textbox were
|
||||
empty. :-)
|
||||
|
|
|
@ -3978,7 +3978,10 @@ Epplet_event(Epplet_gadget gadget, XEvent * ev)
|
|||
float delta;
|
||||
|
||||
g = (GadTextBox *) gadget;
|
||||
|
||||
|
||||
if (g->contents == NULL)
|
||||
break;
|
||||
|
||||
XTranslateCoordinates(disp, g->win, root, 0, 0, &tmp_x, &tmp_y, &dummy);
|
||||
width = rx - tmp_x;
|
||||
length = strlen(g->contents);
|
||||
|
|
Loading…
Reference in New Issue