summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2010-09-25 19:58:09 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2010-09-25 19:58:09 +0000
commita178562686b09400dcd6855949250dcff8a4dc84 (patch)
tree28c574c6ebacdd4d001dcc75f9022997f51c431b /app
parente5a3feeae0d03932714bd5596c0ba8e28da438ab (diff)
more clear variable name so than name/class shouldn't be confused again.
ok oga@
Diffstat (limited to 'app')
-rw-r--r--app/cwm/group.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c
index 4261d25ae..74ae765e4 100644
--- a/app/cwm/group.c
+++ b/app/cwm/group.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: group.c,v 1.46 2010/07/30 12:28:19 okan Exp $
+ * $Id: group.c,v 1.47 2010/09/25 19:58:08 okan Exp $
*/
#include <sys/param.h>
@@ -179,19 +179,19 @@ group_init(struct screen_ctx *sc)
}
void
-group_make_autogroup(struct conf *conf, char *class, int no)
+group_make_autogroup(struct conf *conf, char *val, int no)
{
struct autogroupwin *aw;
char *p;
aw = xcalloc(1, sizeof(*aw));
- if ((p = strchr(class, ',')) == NULL) {
+ if ((p = strchr(val, ',')) == NULL) {
aw->name = NULL;
- aw->class = xstrdup(class);
+ aw->class = xstrdup(val);
} else {
*(p++) = '\0';
- aw->name = xstrdup(class);
+ aw->name = xstrdup(val);
aw->class = xstrdup(p);
}
aw->num = no;