From f65219672321b25b2026af4d904fc4412fbe6832 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Fri, 13 Jun 2014 07:45:55 -0400 Subject: [PATCH] fix bug in ob-C * lisp/ob-C.el (org-babel-C-val-to-C-type): Fix miss-named variable bug. --- lisp/ob-C.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-C.el b/lisp/ob-C.el index dd03fa7cf..a794e2a8d 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." (list (if (equal org-babel-c-variant 'd) "string" "const char*") "\"%s\"")) - (t (error "unknown type %S" type))))) + (t (error "unknown type %S" basetype))))) (cond ((integerp val) type) ;; an integer declared in the #+begin_src line ((floatp val) type) ;; a numeric declared in the #+begin_src line -- 2.11.4.GIT