From c87013b64d1731dac5da8f738ae8d1b4c1030a90 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 18 Mar 2004 19:10:15 +0000 Subject: [PATCH] Fix EXPORT problem with string variables. From Andreas Streichardt . --- src/ChangeLog | 5 +++++ src/pfm-write.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2e52e8ef..3a8fdf71 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 18 11:07:14 2004 Ben Pfaff + + * pfm-write.c: (bufwrite) Write out the correct element for string + variables. From Andreas Streichardt . + Mon Mar 15 20:48:03 2004 Ben Pfaff Get rid of static and global (!) vars in matrix-data.c. diff --git a/src/pfm-write.c b/src/pfm-write.c index 359f0440..054621fe 100644 --- a/src/pfm-write.c +++ b/src/pfm-write.c @@ -473,7 +473,7 @@ pfm_write_case (struct file_handle *h, const union value *elem) } else { - if (!write_int (h, width) || !bufwrite (h, elem->c, width)) + if (!write_int (h, width) || !bufwrite (h, elem[i].c, width)) return 0; } } -- 2.30.2