Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
2b880d8e
by Alexei Podtelezhnikov at 2022-09-13T07:18:28-04:00
1 changed file:
Changes:
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | |
30 | 30 | |
31 | 31 | static void
|
32 | - usage( char* execname )
|
|
32 | + usage( const char* execname )
|
|
33 | 33 | {
|
34 | 34 | fprintf( stderr,
|
35 | 35 | "\n"
|
... | ... | @@ -381,7 +381,7 @@ |
381 | 381 | static void
|
382 | 382 | render_state_set_files( RenderState state,
|
383 | 383 | char** files,
|
384 | - char* execname )
|
|
384 | + const char* execname )
|
|
385 | 385 | {
|
386 | 386 | FontFace faces = NULL;
|
387 | 387 | unsigned int num_faces = 0;
|
... | ... | @@ -1454,8 +1454,8 @@ |
1454 | 1454 | const char* textfile = NULL;
|
1455 | 1455 | char* text = (char*)default_text;
|
1456 | 1456 | |
1457 | - char* execname;
|
|
1458 | - int option;
|
|
1457 | + const char* execname;
|
|
1458 | + int option;
|
|
1459 | 1459 | |
1460 | 1460 | |
1461 | 1461 | execname = ft_basename( argv[0] );
|