projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated the Lithuanian translation from http://translationproject.org.
[pspp-builds.git]
/
src
/
data
/
dictionary.c
diff --git
a/src/data/dictionary.c
b/src/data/dictionary.c
index 1976ec038ff4a21c7df31f3dc7eb281e51cdbce8..0ca9f9e4ff50023543e1914ae83576ebaa27c6a2 100644
(file)
--- a/
src/data/dictionary.c
+++ b/
src/data/dictionary.c
@@
-24,7
+24,6
@@
#include "data/attributes.h"
#include "data/case.h"
#include "data/attributes.h"
#include "data/case.h"
-#include "data/category.h"
#include "data/identifier.h"
#include "data/mrset.h"
#include "data/settings.h"
#include "data/identifier.h"
#include "data/mrset.h"
#include "data/settings.h"
@@
-298,7
+297,8
@@
dict_destroy (struct dictionary *d)
dict_clear (d);
hmap_destroy (&d->name_map);
attrset_destroy (&d->attributes);
dict_clear (d);
hmap_destroy (&d->name_map);
attrset_destroy (&d->attributes);
- free (d->mrsets);
+ dict_clear_mrsets (d);
+ free (d->encoding);
free (d);
}
}
free (d);
}
}
@@
-1262,7
+1262,7
@@
dict_set_documents (struct dictionary *d, const char *documents)
final line with spaces. */
remainder = ds_length (&d->documents) % DOC_LINE_LENGTH;
if (remainder != 0)
final line with spaces. */
remainder = ds_length (&d->documents) % DOC_LINE_LENGTH;
if (remainder != 0)
- ds_put_
char
_multiple (&d->documents, ' ', DOC_LINE_LENGTH - remainder);
+ ds_put_
byte
_multiple (&d->documents, ' ', DOC_LINE_LENGTH - remainder);
}
/* Drops the documents from dictionary D. */
}
/* Drops the documents from dictionary D. */