diff options
author | Neil <nyamatongwe@gmail.com> | 2013-11-18 14:54:56 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-11-18 14:54:56 +1100 |
commit | 1e541f86974e08c1e7e5ce2daec84f883c8fdcdd (patch) | |
tree | 0b022ade2af581d6d1acc8623ab3cd17e1683292 | |
parent | 546296694211dcd5fd8ce1e82f4ac91e0a8239e8 (diff) | |
download | scintilla-mirror-1e541f86974e08c1e7e5ce2daec84f883c8fdcdd.tar.gz |
Bug [#1552]. Search string could be const.
-rw-r--r-- | doc/ScintillaDoc.html | 2 | ||||
-rw-r--r-- | include/Scintilla.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index e5bf32e4f..43ec2d526 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -801,7 +801,7 @@ struct Sci_TextRange { <pre> struct Sci_TextToFind { struct <a class="jump" href="#Sci_CharacterRange">Sci_CharacterRange</a> chrg; // range to search - char *lpstrText; // the search pattern (zero terminated) + const char *lpstrText; // the search pattern (zero terminated) struct Sci_CharacterRange chrgText; // returned as position of matching text }; </pre> diff --git a/include/Scintilla.h b/include/Scintilla.h index b50d20260..a4a559b81 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -1028,7 +1028,7 @@ struct Sci_TextRange { struct Sci_TextToFind { struct Sci_CharacterRange chrg; - char *lpstrText; + const char *lpstrText; struct Sci_CharacterRange chrgText; }; |