summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-11-30 10:38:41 +0100
committerDanny Baumann <dannybaumann@web.de>2008-11-30 10:38:41 +0100
commitc6d2e6b3669c22511540ab1e7ca68f1795c46f04 (patch)
tree4985edcf76fdd3fee0b05af13bcf35a61ce59a21
parentd8a0eb774c030632b85bc689d0f38d09d47eabc2 (diff)
downloadcompizconfig-backend-kconfig4-c6d2e6b3669c22511540ab1e7ca68f1795c46f04.tar.gz
compizconfig-backend-kconfig4-c6d2e6b3669c22511540ab1e7ca68f1795c46f04.tar.bz2
Fix writing of float values.
-rw-r--r--src/kconfig_backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kconfig_backend.cpp b/src/kconfig_backend.cpp
index d1ea904..71b4dd8 100644
--- a/src/kconfig_backend.cpp
+++ b/src/kconfig_backend.cpp
@@ -1393,7 +1393,7 @@ writeSetting (CCSContext *c,
float val;
if (ccsGetFloat (setting, &val) )
- cfg.writeEntry (key, val);
+ cfg.writeEntry (key, double(val));
}
break;