Skip to content

Commit

Permalink
Fixed accidentally clobbering SVG styles
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 5, 2019
1 parent 2ddd11b commit 3d58952
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nanosvg.h
Expand Up @@ -2788,7 +2788,6 @@ static void nsvg__content(void* ud, const char* s)
p->styles = (NSVGstyles*)malloc(sizeof(NSVGstyles));
p->styles->next = next;
p->styles->name = nsvg__strndup(start, (size_t)(s - start));
p->styles->next = NULL;
start = s + 1;
state = 2;
}
Expand Down

0 comments on commit 3d58952

Please sign in to comment.