From b94fa9f5ab1819eb00774232ebc0d3d9ec325b8f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 22 Apr 2005 05:12:20 +0000 Subject: [PATCH] fixing compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/mimetmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/mimetmac.cpp b/src/mac/carbon/mimetmac.cpp index 61f059e992..dafcd854cf 100644 --- a/src/mac/carbon/mimetmac.cpp +++ b/src/mac/carbon/mimetmac.cpp @@ -1722,7 +1722,7 @@ wxFileType* wxMimeTypesManagerImpl::Associate(const wxFileTypeInfo& ftInfo) entry.fileCreator = creator; entry.postCreator = 0; entry.flags = kICMapDataForkBit; //TODO: Maybe resource is valid by default too? - entry.extension = psExtension; + PLstrcpy( entry.extension , psExtension ) ; memcpy(entry.creatorAppName, psCreatorName, sizeof(Str255)); memcpy(entry.postAppName, psPostCreatorName, sizeof(Str255)); memcpy(entry.MIMEType, psMimeType, sizeof(Str255)); -- 2.45.2