Unified · Split
| @@ -1,3 +1,5 @@ | ||
| 1 | +20100425 | |
| 2 | + appl/wm/wm.b shorten processing of wmctl close if client hadn't started | |
| 1 | 3 | 20100406 |
| 2 | 4 | fix handling of boundary case in libtk/utils.c |
| 3 | 5 | 20100402 |
| @@ -154,6 +154,8 @@ init(ctxt: ref Draw->Context, argv: list of string) · 153 unmodified lines | ||
| 154 | 154 | # if client leaving |
| 155 | 155 | if(rc == nil){ |
| 156 | 156 | c.remove(); |
| 157 | + if(c.stop == nil) | |
| 158 | + break; | |
| 157 | 159 | if(c == ptrfocus) |
| 158 | 160 | ptrfocus = nil; |
| 159 | 161 | if(c == kbdfocus) |
Binary file not shown.
| @@ -1 +1 @@ | ||
| 1 | −#define VERSION "Fourth Edition (20100406)" | |
| 1 | +#define VERSION "Fourth Edition (20100425)" | |
| @@ -608,7 +608,7 @@ tkchoicevarchanged(Tk *tk, char *var, char *value) · 607 unmodified lines | ||
| 608 | 608 | if(value[0] < '0' || value[0] > '9') |
| 609 | 609 | return; |
| 610 | 610 | v = atoi(value); |
| 611 | − if(v < 0 || v > tkl->nvalues) | |
| 611 | + if(v < 0 || v >= tkl->nvalues) | |
| 612 | 612 | return; /* what else can we do? */ |
| 613 | 613 | free(tkl->text); |
| 614 | 614 | tkl->text = strdup(tkl->values[v]); |