const parameter added

This commit is contained in:
Holger Vogt 2020-05-06 11:12:54 +02:00
parent 05bf86caaa
commit 8d64983659
1 changed files with 2 additions and 2 deletions

View File

@ -404,10 +404,10 @@ int PS_Arc(int x0, int y0, int r, double theta, double delta_theta)
int PS_Text(const char *text_in, int x, int y, int angle)
{
int savedlstyle, savedcolor;
char *text;
#ifdef EXT_ASC
text = text_in;
const char *text = text_in;
#else
char *text;
{
const size_t n_char_text = strlen(text_in);
text = TMALLOC(char, n_char_text);