Skip to content

Commit 8e34ddc

Browse files
committed
VGMSampColl: Use name instead of sampName
Why we have two name fields I don't know but name is shown in the UI so it's strange it's not exported as the same thing.
1 parent 3d03cfe commit 8e34ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/VGMSampColl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ bool VGMSampColl::OnSaveAllAsWav() {
9696
wstring dirpath = pRoot->UI_GetSaveDirPath();
9797
if (dirpath.length() != 0) {
9898
for (uint32_t i = 0; i < samples.size(); i++) {
99-
wstring filepath = dirpath + L"\\" + ConvertToSafeFileName(samples[i]->sampName) + L".wav";
99+
wstring filepath = dirpath + L"\\" + ConvertToSafeFileName(samples[i]->name) + L".wav";
100100
samples[i]->SaveAsWav(filepath);
101101
}
102102
return true;

0 commit comments

Comments
 (0)