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

@ -282,7 +282,7 @@ void draw_letter(char *pixelbuf, unsigned char letter, int xposn, int yposn, int
if (skip == 0) {
int glyph_no;
int x, y;
int x, y;
if (letter > 128) {
glyph_no = letter - 66;
} else {
@ -816,8 +816,8 @@ int plot_raster_default(struct zint_symbol *symbol, int rotate_angle, int data_t
/* Plot the body of the symbol to the pixel buffer */
for (r = 0; r < symbol->rows; r++) {
int plot_yposn;
int plot_height;
int plot_yposn;
int plot_height;
int this_row = symbol->rows - r - 1; /* invert r otherwise plots upside down */
row_posn += row_height;
plot_yposn = next_yposn;
@ -1142,3 +1142,4 @@ int plot_raster(struct zint_symbol *symbol, int rotate_angle, int file_type) {
return error;
}