Skip to content

Commit 1386c9f

Browse files
committed
merge revision(s) r49034: [Backport ruby#10662]
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function of tcllib. Patch by @zalt50 [fix rubyGH-787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent fd87a8a commit 1386c9f

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Feb 19 19:10:53 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
2+
3+
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function
4+
of tcllib. Patch by @zalt50 [fix GH-787]
5+
16
Wed Feb 18 00:27:57 2015 Eric Hodel <drbrain@segment7.net>
27

38
* lib/net/http.rb: Do not attempt SSL session resumption when the

ext/tk/lib/tkextlib/tcllib/plotchart.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def self.polar_to_pixel(w, rad, phi)
142142
end
143143

144144
def self.pixel_to_coords(w, x, y)
145-
list(tk_call_without_enc('::Plotchart::coordsToPixel', w.path, x, y))
145+
list(tk_call_without_enc('::Plotchart::pixelToCoords', w.path, x, y))
146146
end
147147

148148
def self.determine_scale(*args) # (xmin, xmax, inverted=false)
@@ -311,7 +311,7 @@ def polar_to_pixel(rad, phi)
311311
end
312312

313313
def pixel_to_coords(x, y)
314-
list(tk_call_without_enc('::Plotchart::coordsToPixel', @path, x, y))
314+
list(tk_call_without_enc('::Plotchart::pixelToCoords', @path, x, y))
315315
end
316316

317317
def determine_scale(xmax, ymax)

version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define RUBY_VERSION "2.1.5"
2-
#define RUBY_RELEASE_DATE "2015-02-18"
3-
#define RUBY_PATCHLEVEL 297
2+
#define RUBY_RELEASE_DATE "2015-02-19"
3+
#define RUBY_PATCHLEVEL 298
44

55
#define RUBY_RELEASE_YEAR 2015
66
#define RUBY_RELEASE_MONTH 2
7-
#define RUBY_RELEASE_DAY 18
7+
#define RUBY_RELEASE_DAY 19
88

99
#include "ruby/version.h"
1010

0 commit comments

Comments
 (0)