fix scope of a char* [] buffer

This commit is contained in:
Paul Davis 2023-08-17 21:16:21 -06:00
parent a3838f0c66
commit 0b9a54ac32
1 changed files with 1 additions and 0 deletions

View File

@ -1180,6 +1180,7 @@ Editor::draw_channel_action (int c)
{
char buf[64];
const char* action = 0;
char buf[64];
RefPtr<Action> act;
if (c==DRAW_CHAN_AUTO) {