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 @@
120100425
2 appl/wm/wm.b shorten processing of wmctl close if client hadn't started
120100406320100406
2 fix handling of boundary case in libtk/utils.c4 fix handling of boundary case in libtk/utils.c
320100402520100402
appl/wm/wm.b+2−0
@@ -154,6 +154,8 @@ init(ctxt: ref Draw->Context, argv: list of string) · 153 unmodified lines
154 # if client leaving154 # if client leaving
155 if(rc == nil){155 if(rc == nil){
156 c.remove();156 c.remove();
157 if(c.stop == nil)
158 break;
157 if(c == ptrfocus)159 if(c == ptrfocus)
158 ptrfocus = nil;160 ptrfocus = nil;
159 if(c == kbdfocus)161 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
608 if(value[0] < '0' || value[0] > '9')608 if(value[0] < '0' || value[0] > '9')
609 return;609 return;
610 v = atoi(value);610 v = atoi(value);
611 if(v < 0 || v > tkl->nvalues)611 if(v < 0 || v >= tkl->nvalues)
612 return; /* what else can we do? */612 return; /* what else can we do? */
613 free(tkl->text);613 free(tkl->text);
614 tkl->text = strdup(tkl->values[v]);614 tkl->text = strdup(tkl->values[v]);