X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fezplot.h;h=bb29dd2f0433f453a8104d1bf3be01923a9df7b8;hp=af9d5852be6bdba8b761828b19fb556059aabbb5;hb=88fd1492afba7c103e2bedbaac0d69fb9bf3cf66;hpb=1a050c98763fbbc0662731b0b76953acede6f5d7 diff --git a/include/ezplot.h b/include/ezplot.h index af9d585..bb29dd2 100644 --- a/include/ezplot.h +++ b/include/ezplot.h @@ -96,7 +96,7 @@ enum { struct KeywordCodeTable { - char* keyword; + const char* keyword; int code; }; @@ -327,7 +327,7 @@ private: bool ezcmd (const char* const comm); bool do_cmd(int lx); - void bad_option(char *opt); + void bad_option(const char *opt); void initPlotSettings(); void initKeywords ();