diff options
-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; }; |