summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe87324)
raw | patch | inline | side by side (parent: fe87324)
author | tavmjong <tavmjong@users.sourceforge.net> | |
Tue, 11 Aug 2009 13:02:58 +0000 (13:02 +0000) | ||
committer | tavmjong <tavmjong@users.sourceforge.net> | |
Tue, 11 Aug 2009 13:02:58 +0000 (13:02 +0000) |
src/extension/internal/javafx-out.cpp | patch | blob | history |
index 417755e1973f19354dcae0a2367486cfa64ef04f..a2f3874062bf7dcb87c04110ae44db85f722f63f 100644 (file)
unsigned int a = SP_RGBA32_A_U(rgba);
char buf[80];
snprintf(buf, 79, "Color.rgb(0x%02x, 0x%02x, 0x%02x, %s)",
- r, g, b, DSTR((double)a/256.0));
+ r, g, b, DSTR((double)a/255.0));
JavaFXOutput::String s = buf;
return s;
}