mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-19 02:47:06 +00:00
Minor bugfix
This commit is contained in:
@@ -639,11 +639,15 @@ int ZBarcode_Print_Rotated(struct zint_symbol *symbol, int rotate_angle)
|
|||||||
#endif
|
#endif
|
||||||
if(!(strcmp(output, "EPS"))) {
|
if(!(strcmp(output, "EPS"))) {
|
||||||
error_number = ps_plot(symbol);
|
error_number = ps_plot(symbol);
|
||||||
|
} else {
|
||||||
|
if(!(strcmp(output, "SVG"))) {
|
||||||
|
error_number = svg_plot(symbol);
|
||||||
} else {
|
} else {
|
||||||
strcpy(symbol->errtxt, "Unknown output format");
|
strcpy(symbol->errtxt, "Unknown output format");
|
||||||
error_tag(symbol->errtxt, ERROR_INVALID_OPTION);
|
error_tag(symbol->errtxt, ERROR_INVALID_OPTION);
|
||||||
return ERROR_INVALID_OPTION;
|
return ERROR_INVALID_OPTION;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#ifndef NO_PNG
|
#ifndef NO_PNG
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user