Mercurial > hg > octave-nkf
changeset 4272:fd406afe8a10
[project @ 2003-01-03 19:52:30 by jwe]
author | jwe |
---|---|
date | Fri, 03 Jan 2003 19:52:30 +0000 |
parents | be631c1720ea |
children | d9f281027014 |
files | src/ChangeLog src/input.cc |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> + * input.cc (initialize_command_input): Use const for + initialization of char * from literal string. + * pt-plot.cc (subplot::extract_plot_data): Call single_subsref, not subsref. * ov.h, ov.cc (single_subsref (const std::string&, const
--- a/src/input.cc +++ b/src/input.cc @@ -489,7 +489,7 @@ // XX FIXME XXX -- this needs to include a comma too, but that // causes trouble for the new struct element completion code. - static char *s = "\t\n !\"\'*+-/:;<=>(){}[\\]^`~"; + static const char *s = "\t\n !\"\'*+-/:;<=>(){}[\\]^`~"; command_editor::set_basic_word_break_characters (s);