From 9c77a5e92443d50ac3132a74c57863b37489a2e1 Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 6 May 2024 15:42:33 -0400 Subject: [PATCH] cwSfScoreParser.cpp : opcode_id_to_label() now uses idToLabelNull(). --- cwSfScoreParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwSfScoreParser.cpp b/cwSfScoreParser.cpp index cd11484..5b9f293 100644 --- a/cwSfScoreParser.cpp +++ b/cwSfScoreParser.cpp @@ -830,7 +830,7 @@ unsigned cw::sfscore::opcode_label_to_id( const char* label ) const char* cw::sfscore::opcode_id_to_label( unsigned opcode_id ) { const char* label; - if((label = idToLabel( _opcodeMapA, opcode_id, kInvalidEvtScId)) == nullptr ) + if((label = idToLabelNull( _opcodeMapA, opcode_id, kInvalidEvtScId)) == nullptr ) cwLogError(kInvalidArgRC,"The event opcode type id '%i' is not valid.",opcode_id); return label;