summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-19 07:34:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-19 07:34:05 +0000
commit6c9027e03f2b34b3f24443260688addd9cf4a028 (patch)
treeca86969f8a3c4a659b76ffe5ed54f3272068e46b /eval_error.c
parent87023a1dcc548f0eb7ccfacd64d795093d1c7e17 (diff)
downloadruby-6c9027e03f2b34b3f24443260688addd9cf4a028.tar.gz
fix syntax error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index b671149bad..75864c0f04 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -141,7 +141,7 @@ print_backtrace(const VALUE eclass, const VALUE errat, int reverse)
int width = ((int)log10((double)(len > threshold ?
((len - 1) / threshold) :
len - 1)) +
- (len < ? 0 : 9) + 1);
+ (len < threshold ? 0 : 9) + 1);
#define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5)
#define TRACE_HEAD 8