Skip to content

Commit ab8ad08

Browse files
committed
fix(targa): Use strlcpy with explicit size for VC6 compatibility
1 parent 6354979 commit ab8ad08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Libraries/Source/WWVegas/WWLib/TARGA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ long Targa::Save(const char* name, long flags, bool addextension)
713713
if (!error) {
714714

715715
mExtension.ExtSize = 495;
716-
strlcpy_t(mExtension.SoftID, "Denzil's Targa Code");
716+
strlcpy(mExtension.SoftID, "Denzil's Targa Code", sizeof(mExtension.SoftID));
717717
mExtension.SoftVer.Number = (1 * 100);
718718
mExtension.SoftVer.Letter = 0;
719719

0 commit comments

Comments
 (0)