mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
2018-01-07 HaO Make compile with MS-VC2017 [Ticket 135]
This commit is contained in:
parent
eda3f4b114
commit
dc2e0b35a6
@ -397,7 +397,7 @@ int emf_plot(struct zint_symbol *symbol) {
|
|||||||
str = symbol->vector->strings;
|
str = symbol->vector->strings;
|
||||||
this_text = 0;
|
this_text = 0;
|
||||||
while (str) {
|
while (str) {
|
||||||
this_string[this_text] = malloc(bump_up(str->length + 1) * 2);
|
this_string[this_text] = (unsigned char *) malloc(bump_up(str->length + 1) * 2);
|
||||||
text[this_text].type = 0x00000054; // EMR_EXTTEXTOUTW
|
text[this_text].type = 0x00000054; // EMR_EXTTEXTOUTW
|
||||||
text[this_text].size = 76 + (6 * bump_up(str->length + 1));
|
text[this_text].size = 76 + (6 * bump_up(str->length + 1));
|
||||||
text[this_text].bounds.top = 0; // ignored
|
text[this_text].bounds.top = 0; // ignored
|
||||||
|
@ -326,6 +326,7 @@
|
|||||||
<ClCompile Include="..\backend\imail.c" />
|
<ClCompile Include="..\backend\imail.c" />
|
||||||
<ClCompile Include="..\backend\large.c" />
|
<ClCompile Include="..\backend\large.c" />
|
||||||
<ClCompile Include="..\backend\library.c" />
|
<ClCompile Include="..\backend\library.c" />
|
||||||
|
<ClCompile Include="..\backend\mailmark.c" />
|
||||||
<ClCompile Include="..\backend\maxicode.c" />
|
<ClCompile Include="..\backend\maxicode.c" />
|
||||||
<ClCompile Include="..\backend\medical.c" />
|
<ClCompile Include="..\backend\medical.c" />
|
||||||
<ClCompile Include="..\backend\pcx.c" />
|
<ClCompile Include="..\backend\pcx.c" />
|
||||||
@ -343,6 +344,7 @@
|
|||||||
<ClCompile Include="..\backend\telepen.c" />
|
<ClCompile Include="..\backend\telepen.c" />
|
||||||
<ClCompile Include="..\backend\tif.c" />
|
<ClCompile Include="..\backend\tif.c" />
|
||||||
<ClCompile Include="..\backend\upcean.c" />
|
<ClCompile Include="..\backend\upcean.c" />
|
||||||
|
<ClCompile Include="..\backend\vector.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\backend\aztec.h" />
|
<ClInclude Include="..\backend\aztec.h" />
|
||||||
|
Loading…
Reference in New Issue
Block a user