added missing const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-11-02 07:13:17 +00:00
parent e84010cf65
commit 4538b3f1b0
3 changed files with 10 additions and 10 deletions

View File

@@ -1686,7 +1686,7 @@ bool TexLoadFile(char *filename)
return FALSE;
}
TexMacroDef::TexMacroDef(int the_id, char *the_name, int n, bool ig, bool forbidLevel)
TexMacroDef::TexMacroDef(int the_id, const char *the_name, int n, bool ig, bool forbidLevel)
{
name = copystring(the_name);
no_args = n;
@@ -1961,7 +1961,7 @@ void SetCurrentOutputs(FILE *fd1, FILE *fd2)
CurrentOutput2 = fd2;
}
void AddMacroDef(int the_id, char *name, int n, bool ignore, bool forbid)
void AddMacroDef(int the_id, const char *name, int n, bool ignore, bool forbid)
{
MacroDefs.Put(name, new TexMacroDef(the_id, name, n, ignore, forbid));
}