texplay 0.2.930 → 0.2.935
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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