Fix mixed unix / windows EOL

This commit is contained in:
Boris Zentner 2017-10-23 21:34:31 +02:00 committed by Robin Stuart
parent 2372c16ba0
commit 45441a6da7
24 changed files with 278 additions and 255 deletions

View file

@ -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;
}
}