cwPianoScore.cpp : e->loc is set to kInvalidId before it is filled with "oloc" in _read_csv_line()

This commit is contained in:
kevin 2025-03-10 20:06:25 -04:00
parent 8c9ff2cd52
commit d85ab3cb7e

View File

@ -180,6 +180,7 @@ namespace cw
if( score_fl ) if( score_fl )
{ {
e->loc = kInvalidId;
if((rc = getv(csvH,"oloc",e->loc )) != kOkRC ) if((rc = getv(csvH,"oloc",e->loc )) != kOkRC )
{ {
rc = cwLogError(rc,"Error parsing CSV."); rc = cwLogError(rc,"Error parsing CSV.");