about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-14 10:29:49 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-14 10:29:49 +0000
commit59d4f94e5d32163943547145fc4605947617f510 (patch)
treedc95a70ed8752e1310139cb240800ffd8e1aae01 /Src
parent464eef358ae4f3223a8ced6e97c15e95aad80814 (diff)
downloadzsh-59d4f94e5d32163943547145fc4605947617f510.tar.gz
zsh-59d4f94e5d32163943547145fc4605947617f510.tar.xz
zsh-59d4f94e5d32163943547145fc4605947617f510.zip
zsh-workers/9710
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c
index 6631fc123..d40b0ae4c 100644
--- a/Src/Modules/zutil.c
+++ b/Src/Modules/zutil.c
@@ -155,7 +155,7 @@ setstypat(Style s, char *pat, Patprog prog, char **vals)
 	    tmp = 2;
 	}
     }
-    p->weight = weight + tmp;
+    p->weight = (weight += tmp);
 
     for (qq = NULL, q = s->pats; q && q->weight >= weight;
 	 qq = q, q = q->next);