about summary refs log tree commit diff stats
path: root/091run_interactive.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-03-19 09:14:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-03-19 11:49:34 -0700
commitfda4f09181db880dc5199d191161d75d8b9ad2b4 (patch)
tree458ddbe5b80205b17f0c53c937e274c85d4e24a8 /091run_interactive.cc
parentb105b9799f5604027e82ff225c25bcf67b8523c7 (diff)
downloadmu-fda4f09181db880dc5199d191161d75d8b9ad2b4.tar.gz
2795 - quick hacks for Caleb
It turns out that my extensible stash doesn't yet work well in all
situations. If you try to stash an array, you end up trying to create an
array local that's not statically sized -- a no-no.

Bah, just throw it all out.
Diffstat (limited to '091run_interactive.cc')
-rw-r--r--091run_interactive.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/091run_interactive.cc b/091run_interactive.cc
index 70929a91..1e6bf9c2 100644
--- a/091run_interactive.cc
+++ b/091run_interactive.cc
@@ -427,8 +427,8 @@ int trace_app_contents() {
 }
 
 void truncate(string& x) {
-  if (SIZE(x) > 512) {
-    x.erase(512);
+  if (SIZE(x) > 1024) {
+    x.erase(1024);
     *x.rbegin() = '\n';
     *++x.rbegin() = '.';
     *++++x.rbegin() = '.';