Changeset 2a7e795 in lilv


Ignore:
Timestamp:
Nov 4, 2015, 10:26:41 AM (2 years ago)
Author:
David Robillard <d@…>
Branches:
master
Children:
df9e43c
Parents:
432be40
Message:

Fix restoring state from strings

Patch from falktx, fixes #1107.

git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5809 a436a847-0d15-0410-975c-d299462d15a1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/state.c

    r432be40 r2a7e795  
    500500        const SordNode* graph  = sord_iter_get_node(i, SORD_GRAPH);
    501501        state->label = lilv_strdup((const char*)sord_node_get_string(object));
    502         if (!state->dir) {
     502        if (!state->dir && graph) {
    503503            state->dir = lilv_strdup((const char*)sord_node_get_string(graph));
    504504        }
Note: See TracChangeset for help on using the changeset viewer.