summaryrefslogtreecommitdiffstats
path: root/kate/tests/highlight.do
diff options
context:
space:
mode:
Diffstat (limited to 'kate/tests/highlight.do')
-rw-r--r--kate/tests/highlight.do4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/tests/highlight.do b/kate/tests/highlight.do
index 0b90b16b6..3f70cec9f 100644
--- a/kate/tests/highlight.do
+++ b/kate/tests/highlight.do
@@ -70,7 +70,7 @@ program define spellsplit
/* calculate totals (+ when spell starts - when ends) */
sort `by'
cap foreach v of varlist `xvars' {
- by `by': replace `v' = sum(``v'')
+ by `by': tqreplace `v' = sum(``v'')
}
by `by': g `date1' = `date0'[_n + 1]
@@ -81,7 +81,7 @@ program define spellsplit
format `date0' `f0'
format `date1' `f1'
- cap for var `meanvars': replace X = X/_count
+ cap for var `meanvars': tqreplace X = X/_count
compress
}