mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-20 03:17:12 +00:00
Fix mixed unix / windows EOL
This commit is contained in:
committed by
Robin Stuart
parent
2372c16ba0
commit
45441a6da7
@@ -254,7 +254,7 @@ int render_plot(struct zint_symbol *symbol, float width, float height) {
|
||||
else if (symbol->symbology == BARCODE_CODE49) {
|
||||
/* The minimum X-dimension of Code 49 is 0.191mm */
|
||||
if (x_dimension < 0.191) {
|
||||
float encoded_symbol_aspect;
|
||||
float encoded_symbol_aspect;
|
||||
x_dimension = 0.191;
|
||||
width = 0.191 * GL_CONST * total_area_width_x;
|
||||
encoded_symbol_aspect = total_area_width_x;
|
||||
@@ -350,7 +350,7 @@ int render_plot(struct zint_symbol *symbol, float width, float height) {
|
||||
|
||||
|
||||
if (symbol->symbology == BARCODE_MAXICODE) {
|
||||
struct zint_render_ring *ring;
|
||||
struct zint_render_ring *ring;
|
||||
/* Maxicode is a fixed size */
|
||||
scaler = GL_CONST; /* Converts from millimeters to the scale used by glabels */
|
||||
render->width = 28.16 * scaler;
|
||||
@@ -847,3 +847,4 @@ void render_free(struct zint_symbol *symbol) {
|
||||
symbol->rendered = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user