Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
ea4f3777
by Alexei Podtelezhnikov at 2022-06-03T23:25:12-04:00
2 changed files:
Changes:
... | ... | @@ -139,12 +139,10 @@ |
139 | 139 | </PostBuildEvent>
|
140 | 140 | </ItemDefinitionGroup>
|
141 | 141 | <ItemGroup>
|
142 | - <ClCompile Include="..\..\..\src\common.c" />
|
|
143 | 142 | <ClCompile Include="..\..\..\src\mlgetopt.c" />
|
144 | 143 | <ClCompile Include="..\..\..\src\ftbench.c" />
|
145 | 144 | </ItemGroup>
|
146 | 145 | <ItemGroup>
|
147 | - <ClInclude Include="..\..\..\src\common.h" />
|
|
148 | 146 | <ClInclude Include="..\..\..\src\mlgetopt.h" />
|
149 | 147 | </ItemGroup>
|
150 | 148 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
... | ... | @@ -40,8 +40,6 @@ |
40 | 40 | #include "mlgetopt.h"
|
41 | 41 | #endif
|
42 | 42 | |
43 | -#include "common.h"
|
|
44 | - |
|
45 | 43 | #ifdef _WIN32
|
46 | 44 | #define WIN32_LEAN_AND_MEAN
|
47 | 45 | #include <windows.h>
|
... | ... | @@ -1071,7 +1069,6 @@ |
1071 | 1069 | int max_iter = 0;
|
1072 | 1070 | double max_time = BENCH_TIME;
|
1073 | 1071 | int compare_cached = 0;
|
1074 | - size_t i;
|
|
1075 | 1072 | int j;
|
1076 | 1073 | |
1077 | 1074 | unsigned int versions[3] = { TT_INTERPRETER_VERSION_35,
|
... | ... | @@ -1319,11 +1316,10 @@ |
1319 | 1316 | if ( get_face( &face ) )
|
1320 | 1317 | goto Exit;
|
1321 | 1318 | |
1322 | - printf( "\n"
|
|
1323 | - "ftbench results for font `%s'\n"
|
|
1324 | - "---------------------------",
|
|
1325 | - filename );
|
|
1326 | - for ( i = 0; i < strlen( filename ); i++ )
|
|
1319 | + j = printf( "\n"
|
|
1320 | + "ftbench results for font `%s'\n",
|
|
1321 | + filename );
|
|
1322 | + while ( j-- > 2 )
|
|
1327 | 1323 | putchar( '-' );
|
1328 | 1324 | putchar( '\n' );
|
1329 | 1325 |