Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Src/SA/Sa_Doc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5827,7 +5827,8 @@ void CSaDoc::AddReferenceData(CDlgAutoReferenceData & dlg, int selection) {
// there are references
for (int i = start; i < pGloss->GetOffsetSize(); i++) {
CSaString text;
text.Format(L"%d", val);
// Format with leading 0's for compatibility with PA and Flex
text.Format(L"%03d", val);
DWORD offset = pGloss->GetOffset(i);
DWORD duration = pGloss->GetDuration(i);
bool found = false;
Expand Down