History

20100425-1618

forsyth committed 16 years ago

Commit 155032e1 parent fd55b745 files · +5 −1Browse files

Unified · Split

5 files
  1. CHANGES +2 −0
  2. appl/wm/wm.b +2 −0
  3. dis/wm/wm.dis +0 −0
  4. include/version.h +1 −1
  5. libtk/menus.c +1 −1
CHANGES+2−0
@@ -1,3 +1,5 @@
1+20100425
2+ appl/wm/wm.b shorten processing of wmctl close if client hadn't started
13 20100406
24 fix handling of boundary case in libtk/utils.c
35 20100402
appl/wm/wm.b+2−0
@@ -154,6 +154,8 @@ init(ctxt: ref Draw->Context, argv: list of string) · 153 unmodified lines
154154 # if client leaving
155155 if(rc == nil){
156156 c.remove();
157+ if(c.stop == nil)
158+ break;
157159 if(c == ptrfocus)
158160 ptrfocus = nil;
159161 if(c == kbdfocus)
dis/wm/wm.dis+0−0

Binary file not shown.

include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20100406)"
1+#define VERSION "Fourth Edition (20100425)"
libtk/menus.c+1−1
@@ -608,7 +608,7 @@ tkchoicevarchanged(Tk *tk, char *var, char *value) · 607 unmodified lines
608608 if(value[0] < '0' || value[0] > '9')
609609 return;
610610 v = atoi(value);
611− if(v < 0 || v > tkl->nvalues)
611+ if(v < 0 || v >= tkl->nvalues)
612612 return; /* what else can we do? */
613613 free(tkl->text);
614614 tkl->text = strdup(tkl->values[v]);