svg:: fixed circles

This commit is contained in:
Zeno Rogue 2018-11-09 20:50:08 +01:00
parent d69e952729
commit ca6ed2eff2
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ namespace svg {
}
void circle(int x, int y, int size, color_t col, color_t fillcol) {
if(!invisible(col) && !invisible(fillcol)) {
if(!invisible(col) || !invisible(fillcol)) {
if(vid.stretch == 1)
fprintf(f, "<circle cx='%s' cy='%s' r='%s' %s/>\n",
coord(x), coord(y), coord(size), stylestr(fillcol, col));