mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-09 04:51:58 +00:00
Compile MS-VC6 compatible: only define variables after "{" or at top
This commit is contained in:
@@ -598,7 +598,8 @@ void draw_letter(char *pixelbuf, unsigned char letter, int xposn, int yposn, int
|
||||
break;
|
||||
|
||||
case 2: // bold font -> twice the regular font
|
||||
{
|
||||
{
|
||||
char * linePtr;
|
||||
max_x = 7;
|
||||
max_y = 14;
|
||||
|
||||
@@ -610,7 +611,7 @@ void draw_letter(char *pixelbuf, unsigned char letter, int xposn, int yposn, int
|
||||
max_y = image_height - yposn - 1;
|
||||
}
|
||||
|
||||
char * linePtr = pixelbuf + (yposn * image_width) + xposn + 1;
|
||||
linePtr = pixelbuf + (yposn * image_width) + xposn + 1;
|
||||
for (y = 0; y < max_y; y++) {
|
||||
char * pixelPtr = linePtr;
|
||||
int extra_dot = 0;
|
||||
|
||||
Reference in New Issue
Block a user