chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6490e9f
)
Bug fix
author
espen
<espen>
Fri, 25 Feb 2005 17:20:25 +0000
(17:20 +0000)
committer
espen
<espen>
Fri, 25 Feb 2005 17:20:25 +0000
(17:20 +0000)
glib/genums.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/genums.lisp
b/glib/genums.lisp
index 7e2edc41acd607325a466f0f9352bf923289ba50..4e4e766342c5cedcff0e0ef3ca56663868fff9c2 100644
(file)
--- a/
glib/genums.lisp
+++ b/
glib/genums.lisp
@@
-15,7
+15,7
@@
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-;; $Id: genums.lisp,v 1.1
0 2005/02/14 00:43:43
espen Exp $
+;; $Id: genums.lisp,v 1.1
1 2005/02/25 17:20:25
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-23,7
+23,7
@@
(in-package "GLIB")
(defun %map-enum (mappings op)
(loop
(defun %map-enum (mappings op)
(loop
- as value =
1
then (1+ value)
+ as value =
0
then (1+ value)
for mapping in mappings
collect (let ((symbol (if (atom mapping) mapping (first mapping))))
(unless (atom mapping)
for mapping in mappings
collect (let ((symbol (if (atom mapping) mapping (first mapping))))
(unless (atom mapping)