aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-07 03:27:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-07 03:27:57 +0000
commit4faa9ea612ce99455d2294dc0b4f02cacc5d4f33 (patch)
treef37ef0b98c470419279ca6928f2331b9aa7aef29
parent10ddffb278e4a27dc6d7a4e6ecee342fe2b56741 (diff)
downloadruby-4faa9ea612ce99455d2294dc0b4f02cacc5d4f33.tar.gz
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
[ruby-core:19718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/irb.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c3d23120cb..81e8c7248d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 7 12:26:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
+ [ruby-core:19718]
+
Fri Nov 7 11:55:30 2008 NARUSE, Yui <naruse@ruby-lang.org>
* nkf.c: update to r1.188. fixes for 16bit environment.
diff --git a/lib/irb.rb b/lib/irb.rb
index 7fe3d7dc51..f5e662ac51 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -107,7 +107,7 @@ module IRB
f = @context.prompt_c
elsif indent > 0
f = @context.prompt_n
- else @context.prompt_i
+ else
f = @context.prompt_i
end
f = "" unless f