aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ThemeItems.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-09-30 19:05:02 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-09-30 19:05:02 (GMT)
commitf8c61a1ba2cc5fc08690b89440cb2f0380f068df (patch)
tree73b5de8ae1d866f324ccfb867a88fbe68587cf40 /src/FbTk/ThemeItems.cc
parente8c2690bfc92274b96d1620829977bf4c1db908b (diff)
downloadfluxbox_paul-f8c61a1ba2cc5fc08690b89440cb2f0380f068df.zip
fluxbox_paul-f8c61a1ba2cc5fc08690b89440cb2f0380f068df.tar.bz2
compile fix: use the correct format string to parse the number
Diffstat (limited to 'src/FbTk/ThemeItems.cc')
-rw-r--r--src/FbTk/ThemeItems.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/ThemeItems.cc b/src/FbTk/ThemeItems.cc
index b4e7096..56efb1b 100644
--- a/src/FbTk/ThemeItems.cc
+++ b/src/FbTk/ThemeItems.cc
@@ -120,7 +120,7 @@ void ThemeItem<unsigned int>::setDefaultValue() {
120 120
121template <> 121template <>
122void ThemeItem<unsigned int>::setFromString(const char *str) { 122void ThemeItem<unsigned int>::setFromString(const char *str) {
123 sscanf(str, "%d", &m_value); 123 sscanf(str, "%u", &m_value);
124} 124}
125 125
126template <> 126template <>