summaryrefslogtreecommitdiff
path: root/lisp/org/ob-C.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/ob-C.el')
-rw-r--r--lisp/org/ob-C.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org/ob-C.el b/lisp/org/ob-C.el
index 4f8106cd66f..dccf6b2b0b3 100644
--- a/lisp/org/ob-C.el
+++ b/lisp/org/ob-C.el
@@ -5,7 +5,6 @@
;; Author: Eric Schulte
;; Keywords: literate programming, reproducible research
;; Homepage: http://orgmode.org
-;; Version: 7.7
;; This file is part of GNU Emacs.
@@ -180,7 +179,7 @@ of the same value."
(format "int %S = %S;" var val))
((floatp val)
(format "double %S = %S;" var val))
- ((or (characterp val))
+ ((or (integerp val))
(format "char %S = '%S';" var val))
((stringp val)
(format "char %S[%d] = \"%s\";"