diff options
Diffstat (limited to 'setxkbmap.c')
-rw-r--r-- | setxkbmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setxkbmap.c b/setxkbmap.c index 75c3864..7f318ac 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -651,7 +651,7 @@ addStringToOptions(char *opt_str, int *sz_opts, int *num_opts, char ***opts) if ((str = strdup(opt_str)) == NULL) return False; - for (tmp = str, next = NULL; (tmp && *tmp != '\0') && ok; tmp = next) + for (tmp = str; (tmp && *tmp != '\0') && ok; tmp = next) { next = strchr(str, ','); if (next) |