diff options
| -rw-r--r-- | src/drivers/SVG/Fl_SVG_File_Surface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/SVG/Fl_SVG_File_Surface.cxx b/src/drivers/SVG/Fl_SVG_File_Surface.cxx index 8f5c4ec95..ae0172fc4 100644 --- a/src/drivers/SVG/Fl_SVG_File_Surface.cxx +++ b/src/drivers/SVG/Fl_SVG_File_Surface.cxx @@ -213,7 +213,7 @@ void Fl_SVG_Graphics_Driver::compute_dasharray(float s, char *dashes) { int dash_part = line_style_ & 0xFF; if (dash_part == FL_SOLID) { if (strcmp(dasharray_, "none")) { - if (dasharray_) free(dasharray_); + free(dasharray_); dasharray_ = fl_strdup("none"); } } else { |
