projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
variable: Make var_append_value_name() omit trailing white space.
[pspp]
/
src
/
data
/
datasheet.c
diff --git
a/src/data/datasheet.c
b/src/data/datasheet.c
index 2847703d1e8f432556ae70a428a167a6ed56599b..ef2024873b72eb432f35a9164009e6b41ea7d36b 100644
(file)
--- a/
src/data/datasheet.c
+++ b/
src/data/datasheet.c
@@
-175,7
+175,7
@@
value_to_data (const union value *value_, int width)
if (width == 0)
return &value->f;
else
if (width == 0)
return &value->f;
else
- return value
_str_rw (value, width)
;
+ return value
->s
;
}
/* Returns the number of bytes needed to store all the values in
}
/* Returns the number of bytes needed to store all the values in
@@
-604,8
+604,8
@@
datasheet_get_value (const struct datasheet *ds, casenumber row,
successful, false on I/O error. On failure, ROW might be
partially modified or corrupted. */
bool
successful, false on I/O error. On failure, ROW might be
partially modified or corrupted. */
bool
-datasheet_put_value (struct datasheet *ds
UNUSED, casenumber row UNUSED
,
- size_t column
UNUSED, const union value *value UNUSED
)
+datasheet_put_value (struct datasheet *ds
, casenumber row
,
+ size_t column
, const union value *value
)
{
return rw_case (ds, OP_WRITE, row, column, 1, (union value *) value);
}
{
return rw_case (ds, OP_WRITE, row, column, 1, (union value *) value);
}