Changeset 7a9d968 for set.c


Ignore:
Timestamp:
2018-03-10T11:30:39Z (6 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
5447c59
Parents:
3f44e43 (diff), 4a9c6b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.c

    r3f44e43 r7a9d968  
    165165        /* If there's a default setting and it's equal to what we're trying to
    166166           set, stick with s->value = NULL. Otherwise, remember the setting. */
    167         if (!s->def || (strcmp(nv, s->def) != 0)) {
     167        if (!s->def || (g_strcmp0(nv, s->def) != 0)) {
    168168                s->value = g_strdup(nv);
    169169        }
Note: See TracChangeset for help on using the changeset viewer.