projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Support --without-cairo.
[pspp-builds.git]
/
src
/
libpspp
/
hmapx.c
diff --git
a/src/libpspp/hmapx.c
b/src/libpspp/hmapx.c
index d73245084178025d2f550c47af66487590310b7a..437b2bdba5a7aad4ad301f672fc3681b5f2010fd 100644
(file)
--- a/
src/libpspp/hmapx.c
+++ b/
src/libpspp/hmapx.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
, 2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-32,7
+32,7
@@
hmapx_destroy (struct hmapx *map)
{
if (map != NULL)
{
{
if (map != NULL)
{
- if (
hmapx_count (map) > 0)
+ if (
!(hmapx_is_empty (map)))
{
struct hmapx_node *node, *next;
for (node = hmapx_first (map); node != NULL; node = next)
{
struct hmapx_node *node, *next;
for (node = hmapx_first (map); node != NULL; node = next)