diff options
| -rw-r--r-- | src/Document.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/Document.cxx b/src/Document.cxx index 98fc6b330..51d52b388 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -394,7 +394,7 @@ bool Document::InsertStyledString(int position, char *s, int insertLength) {  			    DocModification(  			        SC_MOD_BEFOREINSERT | SC_PERFORMED_USER,  			        position / 2, insertLength / 2, -			        0, 0)); +			        0, s));  			int prevLinesTotal = LinesTotal();  			bool startSavePoint = cb.IsSavePoint();  			const char *text = cb.InsertString(position, s, insertLength); | 
