Skip to content

Commit

Permalink
Using OPS_GetStringFromAll for envelope element recorder
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott committed Sep 13, 2021
1 parent 4cfcf7b commit 5ed7de8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions SRC/recorder/EnvelopeElementRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,13 @@ OPS_EnvelopeElementRecorder()
nargrem = 1 + OPS_GetNumRemainingInputArgs();
data = new const char *[nargrem];
data[0] = option;
for (int i = 1; i < nargrem; i++)
data[i] = OPS_GetString();
for (int i = 1; i < nargrem; i++) {
data[i] = new char[128];

// Turn everything in to a string for setResponse
//data[i] = OPS_GetStringFromAll(buffer, 128);
OPS_GetStringFromAll((char*)data[i], 128);
}
}
}

Expand Down

0 comments on commit 5ed7de8

Please sign in to comment.