about summary refs log tree commit diff stats
path: root/044space_surround.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-16 21:24:21 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-16 21:24:21 -0700
commit0f125d5ff163fafbf5531ce9f54f1021f0277b10 (patch)
treed4164b01d145a319fbd6fdb8ae9b58ea1042a607 /044space_surround.cc
parentc3779a7849804756c22912f8cfb6178863d82fb9 (diff)
downloadmu-0f125d5ff163fafbf5531ce9f54f1021f0277b10.tar.gz
1387
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 b2c04213..445be78c 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_number(x.properties.at(i).second.at(0));
+      return to_integer(x.properties.at(i).second.at(0));
     }
   }
   return 0;