Skip to content

Commit

Permalink
const correct text commands
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Oct 9, 2023
1 parent f231f39 commit 0317b39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engine/interface/textedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ void textlist()
result(s.c_str());
}

void textfocuscmd(char *name, int *mode)
void textfocuscmd(const char *name, const int *mode)
{
if(identflags&Idf_Overridden)
{
Expand All @@ -1074,7 +1074,7 @@ void textfocuscmd(char *name, int *mode)
}
}

void textsave(char *file)
void textsave(const char *file)
{
if(!textfocus)
{
Expand All @@ -1088,7 +1088,7 @@ void textsave(char *file)
}


void textload(char *file)
void textload(const char *file)
{
if(!textfocus)
{
Expand Down

0 comments on commit 0317b39

Please sign in to comment.