[7/10] winemenubuilder: Create a basic Info.plist.

Ken Thomases ken at codeweavers.com
Mon Mar 18 23:57:28 CDT 2013


On Mar 17, 2013, at 12:18 PM, Per Johansson wrote:

> +    namestr = CFStringCreateWithCString(NULL, link_name, CFStringGetSystemEncoding());

You should use CFStringCreateWithFileSystemRepresentation() to create CFStrings from POSIX path strings.


> +    pathstr = CFStringCreateWithCString(NULL, path, CFStringGetSystemEncoding());

Same thing here.


> +    data = CFPropertyListCreateData(NULL, propertyList, format, 0, &err);

Since you don't use "err", just pass NULL.

-Ken




More information about the wine-devel mailing list