summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/style.py b/util/style.py
index 2c102b14d..f1f64689f 100644
--- a/util/style.py
+++ b/util/style.py
@@ -78,7 +78,7 @@ def modregions(wctx, fname):
mod_regions &= m2
else:
mod_regions = Regions()
- mod_regions.add(0, len(lines))
+ mod_regions.append(0, len(lines))
return mod_regions