texplay 0.2.930 → 0.2.935
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/ext/texplay/utils.c +1 -1
- data/lib/texplay/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
data/ext/texplay/utils.c
CHANGED
@@ -288,7 +288,7 @@ not_a_color(rgba color1)
|
|
288
288
|
bool
|
289
289
|
is_a_color(rgba color1)
|
290
290
|
{
|
291
|
-
return color1.red
|
291
|
+
return color1.red >= 0 && color1.green >= 0 && color1.blue >= 0 && color1.alpha >= 0;
|
292
292
|
}
|
293
293
|
|
294
294
|
bool
|
data/lib/texplay/version.rb
CHANGED