aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-05-23 10:25:47 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-05-23 10:25:47 (GMT)
commitfbcdd34b223174a28ff712b7d03e56339fa2fe07 (patch)
treeda036effaeeb5ba7788f4b0403151aa864e9d16d /src/FbTk
parentff9c68e247704bd1522ea7a2055b7fa4b2b0c568 (diff)
downloadfluxbox-fbcdd34b223174a28ff712b7d03e56339fa2fe07.zip
fluxbox-fbcdd34b223174a28ff712b7d03e56339fa2fe07.tar.bz2
mostly cosmetic fixes, mainly discovered by 'clang --analyze'
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints.
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/TextureRender.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextureRender.cc b/src/FbTk/TextureRender.cc
index 73c1a94..116142d 100644
--- a/src/FbTk/TextureRender.cc
+++ b/src/FbTk/TextureRender.cc
@@ -68,7 +68,7 @@ TextureRender::TextureRender(ImageControl &imgctrl,
68 XColor *_colors, size_t num_colors): 68 XColor *_colors, size_t num_colors):
69 control(imgctrl), 69 control(imgctrl),
70 colors(_colors), 70 colors(_colors),
71 ncolors(ncolors), 71 ncolors(static_cast<int>(num_colors)),
72 cpc(imgctrl.colorsPerChannel()), 72 cpc(imgctrl.colorsPerChannel()),
73 cpccpc(cpc * cpc), 73 cpccpc(cpc * cpc),
74 red(0), green(0), blue(0), 74 red(0), green(0), blue(0),