git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ConfigItem: remove logic from UI, improve UI
[fanfix.git]
/
src
/
be
/
nikiroo
/
utils
/
resources
/
BundleHelper.java
diff --git
a/src/be/nikiroo/utils/resources/BundleHelper.java
b/src/be/nikiroo/utils/resources/BundleHelper.java
index 94066d8685572a6027a88d88f19a0d31a8175b31..39c00c5c6079e5791a62ae73b2c38535d0ffb371 100644
(file)
--- a/
src/be/nikiroo/utils/resources/BundleHelper.java
+++ b/
src/be/nikiroo/utils/resources/BundleHelper.java
@@
-227,7
+227,7
@@
class BundleHelper {
* the ARGB colour value
* @return the raw {@link String} value that correspond to it
*/
* the ARGB colour value
* @return the raw {@link String} value that correspond to it
*/
- static public String fromColo
u
r(int color) {
+ static public String fromColor(int color) {
int a = (color >> 24) & 0xFF;
int r = (color >> 16) & 0xFF;
int g = (color >> 8) & 0xFF;
int a = (color >> 24) & 0xFF;
int r = (color >> 16) & 0xFF;
int g = (color >> 8) & 0xFF;