summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Lombacher <Jakob@Lombacher.net>2014-03-27 19:27:03 +0100
committerEric Schulte <schulte.eric@gmail.com>2014-03-27 17:53:39 -0400
commitaf23a276a36dc010c8e422f88c6214b4d55f9a84 (patch)
treeebadb714892b190d1f3b807d2159535db8415f43
parent938e1ef3bf4e65ae38acc2097219be24db6e73d3 (diff)
downloadorg-mode-af23a276a36dc010c8e422f88c6214b4d55f9a84.tar.gz
Bugfix, there was one entry too much.
It failed when mixed (int double) table is used as input variable e.g | 1 | 1.2 | TINYCHANGE
-rw-r--r--lisp/ob-C.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-C.el b/lisp/ob-C.el
index 4c2d1ba..bbd0525 100644
--- a/lisp/ob-C.el
+++ b/lisp/ob-C.el
@@ -264,7 +264,7 @@ FORMAT can be either a format string or a function which is called with VAL."
(when (and type (not (string= type-name tmp-type-name)))
(if (and (member type-name '("int" "double" "int32_t"))
(member tmp-type-name '("int" "double" "int32_t")))
- (setq tmp-type '("double" "" "%f"))
+ (setq tmp-type '("double" "%f"))
(error "Only homogeneous lists are supported by C. You can not mix %s and %s"
type-name
tmp-type-name)))