texplay 0.2.900-i386-mswin32 → 0.2.910-i386-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README.markdown +1 -1
- data/lib/texplay.rb +3 -3
- data/lib/texplay/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/README.markdown
CHANGED
data/lib/texplay.rb
CHANGED
@@ -112,7 +112,7 @@ module Gosu
|
|
112
112
|
# invoke old behaviour
|
113
113
|
obj = original_new(*args, &block)
|
114
114
|
|
115
|
-
prepare_image(*args
|
115
|
+
prepare_image(obj, *args)
|
116
116
|
end
|
117
117
|
|
118
118
|
alias_method :original_from_text, :from_text
|
@@ -122,10 +122,10 @@ module Gosu
|
|
122
122
|
# invoke old behaviour
|
123
123
|
obj = original_from_text(*args, &block)
|
124
124
|
|
125
|
-
prepare_image(*args
|
125
|
+
prepare_image(obj, *args)
|
126
126
|
end
|
127
127
|
|
128
|
-
def prepare_image(*args
|
128
|
+
def prepare_image(obj, *args)
|
129
129
|
|
130
130
|
# refresh the TexPlay image cache
|
131
131
|
if obj.width <= (TexPlay::TP_MAX_QUAD_SIZE) &&
|
data/lib/texplay/version.rb
CHANGED