aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ImageControl.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-08-14 05:53:38 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-08-14 05:53:38 (GMT)
commit31b47e78147ca20803b123f392bfd2002b70e052 (patch)
treef7beb9baa9daf86d66358fd834cafae14de7c782 /src/FbTk/ImageControl.cc
parente169d33552c8e7070aa6e13da0187f2013b4cfc3 (diff)
downloadfluxbox-31b47e78147ca20803b123f392bfd2002b70e052.zip
fluxbox-31b47e78147ca20803b123f392bfd2002b70e052.tar.bz2
cleanup of some files
Diffstat (limited to 'src/FbTk/ImageControl.cc')
-rw-r--r--src/FbTk/ImageControl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc
index b9c3685..38114c8 100644
--- a/src/FbTk/ImageControl.cc
+++ b/src/FbTk/ImageControl.cc
@@ -495,7 +495,7 @@ void ImageControl::createColorTable() {
495 for (int b = 0; b < m_colors_per_channel; b++, i++) { 495 for (int b = 0; b < m_colors_per_channel; b++, i++) {
496 m_colors[i].red = (r * 0xffff) / (m_colors_per_channel - 1); 496 m_colors[i].red = (r * 0xffff) / (m_colors_per_channel - 1);
497 m_colors[i].green = (g * 0xffff) / (m_colors_per_channel - 1); 497 m_colors[i].green = (g * 0xffff) / (m_colors_per_channel - 1);
498 m_colors[i].blue = (b * 0xffff) / (m_colors_per_channel - 1);; 498 m_colors[i].blue = (b * 0xffff) / (m_colors_per_channel - 1);
499 m_colors[i].flags = DoRed|DoGreen|DoBlue; 499 m_colors[i].flags = DoRed|DoGreen|DoBlue;
500 } 500 }
501 } 501 }
@@ -587,7 +587,7 @@ void ImageControl::createColorTable() {
587 for (unsigned int i = 0; i < m_num_colors; i++) { 587 for (unsigned int i = 0; i < m_num_colors; i++) {
588 m_colors[i].red = (i * 0xffff) / (m_colors_per_channel - 1); 588 m_colors[i].red = (i * 0xffff) / (m_colors_per_channel - 1);
589 m_colors[i].green = (i * 0xffff) / (m_colors_per_channel - 1); 589 m_colors[i].green = (i * 0xffff) / (m_colors_per_channel - 1);
590 m_colors[i].blue = (i * 0xffff) / (m_colors_per_channel - 1);; 590 m_colors[i].blue = (i * 0xffff) / (m_colors_per_channel - 1);
591 m_colors[i].flags = DoRed|DoGreen|DoBlue; 591 m_colors[i].flags = DoRed|DoGreen|DoBlue;
592 592
593 if (! XAllocColor(disp, m_colormap, 593 if (! XAllocColor(disp, m_colormap,