about summary refs log tree commit diff stats
path: root/044space_surround.cc
diff options
context:
space:
mode:
Diffstat (limited to '044space_surround.cc')
-rw-r--r--044space_surround.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/044space_surround.cc b/044space_surround.cc
index 16aef4dc..b1e4c5e7 100644
--- a/044space_surround.cc
+++ b/044space_surround.cc
@@ -45,7 +45,7 @@ index_t space_index(const reagent& x) {
   for (index_t i = 0; i < x.properties.size(); ++i) {
     if (x.properties.at(i).first == "space") {
       assert(x.properties.at(i).second.size() == 1);
-      return to_int(x.properties.at(i).second.at(0));
+      return to_number(x.properties.at(i).second.at(0));
     }
   }
   return 0;