Skip to content
Merged
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
5 changes: 5 additions & 0 deletions SimpleIni.h
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,11 @@ bool CSimpleIniTempl<SI_CHAR, SI_STRLESS, SI_CONVERTER>::
return true;
}

// a value that is itself quoted needs wrapping, or the loader strips its quotes
if (a_pData > pStart + 1 && *pStart == '"' && *(a_pData - 1) == '"') {
return true;
}

return false;
}

Expand Down
Loading