From 3328104ccdf4d6da62cf24635e7fff76d90c523f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 31 Oct 2007 11:47:22 +0100 Subject: [PATCH] use a_str* functions instead of str* --- config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.c b/config.c index b2ed78859..8f4338518 100644 --- a/config.c +++ b/config.c @@ -455,7 +455,7 @@ uicb_reloadconfig(awesome_config *awesomeconf, savetagclientsel[screen] = p_new(Client *, awesomeconf_first[screen].ntags); for (tag = 0; tag < awesomeconf_first[screen].ntags; tag++) { - savetagnames[screen][tag] = strdup(awesomeconf_first[screen].tags[tag].name); + savetagnames[screen][tag] = a_strdup(awesomeconf_first[screen].tags[tag].name); savetagclientsel[screen][tag] = awesomeconf_first[screen].tags[tag].client_sel; } } @@ -477,7 +477,7 @@ uicb_reloadconfig(awesome_config *awesomeconf, { mapping[screen][i] = -1; for (j = 0; j < old_ntags[screen]; j ++) - if (!strcmp(savetagnames[screen][j], awesomeconf_first[screen].tags[i].name)) + if (!a_strcmp(savetagnames[screen][j], awesomeconf_first[screen].tags[i].name)) { mapping[screen][i] = j; break;